diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/client/platform/model/domain/bindings/googlepubsub/GooglePubSubChannelBinding.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/client/platform/model/domain/bindings/googlepubsub/GooglePubSubChannelBinding.scala index 87f023e201..66402e1e5c 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/client/platform/model/domain/bindings/googlepubsub/GooglePubSubChannelBinding.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/client/platform/model/domain/bindings/googlepubsub/GooglePubSubChannelBinding.scala @@ -1,29 +1,29 @@ package amf.apicontract.client.platform.model.domain.bindings.googlepubsub import amf.apicontract.client.platform.model.domain.bindings.{BindingVersion, ChannelBinding} -import amf.apicontract.client.scala.model.domain.bindings.googlepubsub.{GooglePubSubChannelBinding => InternalGooglePubSubChannelBinding, GooglePubSubMessageStoragePolicy => InternalGooglePubSubMessageStoragePolicy, GooglePubSubSchemaSettings => InternalGooglePubSubSchemaSettings} +import amf.apicontract.client.scala.model.domain.bindings.googlepubsub.{ + GooglePubSubChannelBinding => InternalGooglePubSubChannelBinding, + GooglePubSubChannelBinding010 => InternalGooglePubSubChannelBinding010, + GooglePubSubChannelBinding020 => InternalGooglePubSubChannelBinding020, + GooglePubSubMessageStoragePolicy => InternalGooglePubSubMessageStoragePolicy, + GooglePubSubSchemaSettings => InternalGooglePubSubSchemaSettings +} import amf.apicontract.internal.convert.ApiClientConverters._ import amf.core.client.platform.model.StrField -import amf.core.client.platform.model.domain.{DomainElement, Linkable, ObjectNode} -import amf.shapes.client.scala.model.domain.NodeShape +import amf.core.client.platform.model.domain.{DomainElement, NamedDomainElement, ObjectNode} import scala.scalajs.js.annotation.{JSExportAll, JSExportTopLevel} @JSExportAll -case class GooglePubSubChannelBinding(override private[amf] val _internal: InternalGooglePubSubChannelBinding) - extends ChannelBinding +abstract class GooglePubSubChannelBinding(override private[amf] val _internal: InternalGooglePubSubChannelBinding) + extends ChannelBinding with BindingVersion { - @JSExportTopLevel("GooglePubSubChannelBinding") - def this() = this(InternalGooglePubSubChannelBinding()) - override def bindingVersion: StrField = _internal.bindingVersion - def labels: ObjectNode = _internal.labels - def messageRetentionDuration: StrField = _internal.messageRetentionDuration + def labels: ObjectNode = _internal.labels + def messageRetentionDuration: StrField = _internal.messageRetentionDuration def messageStoragePolicy: GooglePubSubMessageStoragePolicy = _internal.messageStoragePolicy - def schemaSettings: GooglePubSubSchemaSettings = _internal.schemaSettings - def topic: StrField = _internal.topic - + def schemaSettings: GooglePubSubSchemaSettings = _internal.schemaSettings def withLabels(labels: ObjectNode): this.type = { _internal.withLabels(labels) @@ -41,21 +41,41 @@ case class GooglePubSubChannelBinding(override private[amf] val _internal: Inter _internal.withSchemaSettings(schemaSettings._internal) this } - def withTopic(topic: String): this.type = { - _internal.withTopic(topic) - this - } override def withBindingVersion(bindingVersion: String): this.type = { _internal.withBindingVersion(bindingVersion) this } +} + +@JSExportAll +case class GooglePubSubChannelBinding010(override private[amf] val _internal: InternalGooglePubSubChannelBinding010) + extends GooglePubSubChannelBinding(_internal) { + @JSExportTopLevel("GooglePubSubChannelBinding010") + def this() = this(InternalGooglePubSubChannelBinding010()) + + def topic: StrField = _internal.topic - override def linkCopy(): GooglePubSubChannelBinding = _internal.linkCopy() + def withTopic(topic: String): this.type = { + _internal.withTopic(topic) + this + } + + override def linkCopy(): GooglePubSubChannelBinding010 = _internal.linkCopy() +} + +@JSExportAll +case class GooglePubSubChannelBinding020(override private[amf] val _internal: InternalGooglePubSubChannelBinding020) + extends GooglePubSubChannelBinding(_internal) { + @JSExportTopLevel("GooglePubSubChannelBinding020") + def this() = this(InternalGooglePubSubChannelBinding020()) + override def linkCopy(): GooglePubSubChannelBinding020 = _internal.linkCopy() } @JSExportAll -case class GooglePubSubMessageStoragePolicy(override private[amf] val _internal: InternalGooglePubSubMessageStoragePolicy) extends DomainElement { +case class GooglePubSubMessageStoragePolicy( + override private[amf] val _internal: InternalGooglePubSubMessageStoragePolicy +) extends DomainElement { @JSExportTopLevel("GooglePubSubMessageStoragePolicy") def this() = this(InternalGooglePubSubMessageStoragePolicy()) def allowedPersistenceRegions: ClientList[StrField] = _internal.allowedPersistenceRegions.asClient @@ -66,13 +86,23 @@ case class GooglePubSubMessageStoragePolicy(override private[amf] val _internal: } @JSExportAll -case class GooglePubSubSchemaSettings(override private[amf] val _internal: InternalGooglePubSubSchemaSettings) extends DomainElement { +case class GooglePubSubSchemaSettings(override private[amf] val _internal: InternalGooglePubSubSchemaSettings) + extends DomainElement + with NamedDomainElement { @JSExportTopLevel("GooglePubSubSchemaSettings") def this() = this(InternalGooglePubSubSchemaSettings()) - def encoding: StrField = _internal.encoding + + override def name: StrField = _internal.name + + override def withName(name: String): this.type = { + _internal.withName(name) + this + } + + def encoding: StrField = _internal.encoding def firstRevisionId: StrField = _internal.firstRevisionId - def lastRevisionId: StrField = _internal.lastRevisionId - def name: StrField = _internal.name + def lastRevisionId: StrField = _internal.lastRevisionId + def withEncoding(encoding: String): this.type = { _internal.withEncoding(encoding) this @@ -85,8 +115,4 @@ case class GooglePubSubSchemaSettings(override private[amf] val _internal: Inter _internal.withLastRevisionId(lastRevisionId) this } - def withName(name: String): this.type = { - _internal.withName(name) - this - } } diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/client/platform/model/domain/bindings/googlepubsub/GooglePubSubMessageBinding.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/client/platform/model/domain/bindings/googlepubsub/GooglePubSubMessageBinding.scala index f567c00c07..8cd4f4ab53 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/client/platform/model/domain/bindings/googlepubsub/GooglePubSubMessageBinding.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/client/platform/model/domain/bindings/googlepubsub/GooglePubSubMessageBinding.scala @@ -1,25 +1,33 @@ package amf.apicontract.client.platform.model.domain.bindings.googlepubsub import amf.apicontract.client.platform.model.domain.bindings.{BindingVersion, MessageBinding} -import amf.apicontract.client.scala.model.domain.bindings.googlepubsub.{GooglePubSubMessageBinding => InternalGooglePubSubMessageBinding, GooglePubSubSchemaDefinition => InternalGooglePubSubSchemaDefinition} +import amf.apicontract.client.scala.model.domain.bindings.googlepubsub.{ + GooglePubSubMessageBinding => InternalGooglePubSubMessageBinding, + GooglePubSubMessageBinding010 => InternalGooglePubSubMessageBinding010, + GooglePubSubMessageBinding020 => InternalGooglePubSubMessageBinding020, + GooglePubSubSchemaDefinition => InternalGooglePubSubSchemaDefinition, + GooglePubSubSchemaDefinition010 => InternalGooglePubSubSchemaDefinition010, + GooglePubSubSchemaDefinition020 => InternalGooglePubSubSchemaDefinition020 +} import amf.core.client.platform.model.StrField import amf.core.client.platform.model.domain.{DomainElement, ObjectNode} import amf.apicontract.internal.convert.ApiClientConverters._ import scala.scalajs.js.annotation.{JSExportAll, JSExportTopLevel} - @JSExportAll -case class GooglePubSubMessageBinding(override private[amf] val _internal: InternalGooglePubSubMessageBinding) - extends MessageBinding - with BindingVersion { - @JSExportTopLevel("GooglePubSubMessageBinding") - def this() = this(InternalGooglePubSubMessageBinding()) - +abstract class GooglePubSubMessageBinding(override private[amf] val _internal: InternalGooglePubSubMessageBinding) + extends MessageBinding + with BindingVersion { override protected def bindingVersion: StrField = _internal.bindingVersion + override def withBindingVersion(bindingVersion: String): GooglePubSubMessageBinding.this.type = { + _internal.withBindingVersion(bindingVersion) + this + } + def attributes: ObjectNode = _internal.attributes - def orderingKey: StrField = _internal.orderingKey - def schema: GooglePubSubSchemaDefinition = new GooglePubSubSchemaDefinition(_internal.schema) + def orderingKey: StrField = _internal.orderingKey + def schema: GooglePubSubSchemaDefinition def withAttributes(attributes: ObjectNode): this.type = { _internal.withAttributes(attributes) @@ -29,34 +37,65 @@ case class GooglePubSubMessageBinding(override private[amf] val _internal: Inter _internal.withOrderingKey(orderingKey) this } - def withSchema(schema: GooglePubSubSchemaDefinition): this.type = { +} + +@JSExportAll +case class GooglePubSubMessageBinding010(override private[amf] val _internal: InternalGooglePubSubMessageBinding010) + extends GooglePubSubMessageBinding(_internal) { + @JSExportTopLevel("GooglePubSubMessageBinding010") + def this() = this(InternalGooglePubSubMessageBinding010()) + + def schema: GooglePubSubSchemaDefinition010 = GooglePubSubSchemaDefinition010(_internal.schema) + + def withSchema(schema: GooglePubSubSchemaDefinition010): this.type = { _internal.withSchema(schema) this } - override def withBindingVersion(bindingVersion: String): GooglePubSubMessageBinding.this.type = { - _internal.withBindingVersion(bindingVersion) + + override def linkCopy(): GooglePubSubMessageBinding010 = GooglePubSubMessageBinding010(_internal.linkCopy()) +} + +@JSExportAll +case class GooglePubSubMessageBinding020(override private[amf] val _internal: InternalGooglePubSubMessageBinding020) + extends GooglePubSubMessageBinding(_internal) { + @JSExportTopLevel("GooglePubSubMessageBinding020") + def this() = this(InternalGooglePubSubMessageBinding020()) + + def schema: GooglePubSubSchemaDefinition020 = GooglePubSubSchemaDefinition020(_internal.schema) + + def withSchema(schema: GooglePubSubSchemaDefinition020): this.type = { + _internal.withSchema(schema) this } - override def linkCopy(): GooglePubSubMessageBinding = new GooglePubSubMessageBinding(_internal.linkCopy()) - + override def linkCopy(): GooglePubSubMessageBinding020 = GooglePubSubMessageBinding020(_internal.linkCopy()) } @JSExportAll -case class GooglePubSubSchemaDefinition(override private[amf] val _internal: InternalGooglePubSubSchemaDefinition) extends DomainElement { - @JSExportTopLevel("GooglePubSubSchemaDefinition") - def this() = this(InternalGooglePubSubSchemaDefinition()) - +abstract class GooglePubSubSchemaDefinition(override private[amf] val _internal: InternalGooglePubSubSchemaDefinition) + extends DomainElement { def name: StrField = _internal.name - def fieldType: StrField = _internal.fieldType - def withName(name: String): this.type = { _internal.withName(name) this } +} + +@JSExportAll +case class GooglePubSubSchemaDefinition010(override private[amf] val _internal: InternalGooglePubSubSchemaDefinition010) + extends GooglePubSubSchemaDefinition(_internal) { + @JSExportTopLevel("GooglePubSubSchemaDefinition010") + def this() = this(InternalGooglePubSubSchemaDefinition010()) + def fieldType: StrField = _internal.fieldType def withFieldType(fieldType: String): this.type = { _internal.withFieldType(fieldType) this } +} +@JSExportAll +case class GooglePubSubSchemaDefinition020(override private[amf] val _internal: InternalGooglePubSubSchemaDefinition020) + extends GooglePubSubSchemaDefinition(_internal) { + @JSExportTopLevel("GooglePubSubSchemaDefinition020") + def this() = this(InternalGooglePubSubSchemaDefinition020()) } diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/client/platform/model/domain/bindings/http/HttpMessageBinding.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/client/platform/model/domain/bindings/http/HttpMessageBinding.scala index 1ae5e7a69b..c23f228a4a 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/client/platform/model/domain/bindings/http/HttpMessageBinding.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/client/platform/model/domain/bindings/http/HttpMessageBinding.scala @@ -1,21 +1,23 @@ package amf.apicontract.client.platform.model.domain.bindings.http import amf.apicontract.client.platform.model.domain.bindings.{BindingHeaders, BindingVersion, MessageBinding} -import amf.core.client.platform.model.StrField +import amf.core.client.platform.model.{IntField, StrField} import amf.core.client.platform.model.domain.Shape -import amf.apicontract.client.scala.model.domain.bindings.http.{HttpMessageBinding => InternalHttpMessageBinding} +import amf.apicontract.client.scala.model.domain.bindings.http.{ + HttpMessageBinding => InternalHttpMessageBinding, + HttpMessageBinding020 => InternalHttpMessageBinding020, + HttpMessageBinding030 => InternalHttpMessageBinding030 +} import amf.apicontract.internal.convert.ApiClientConverters._ import scala.scalajs.js.annotation.{JSExportAll, JSExportTopLevel} @JSExportAll -case class HttpMessageBinding(override private[amf] val _internal: InternalHttpMessageBinding) +abstract class HttpMessageBinding(override private[amf] val _internal: InternalHttpMessageBinding) extends MessageBinding with BindingVersion with BindingHeaders { - @JSExportTopLevel("HttpMessageBinding") - def this() = this(InternalHttpMessageBinding()) override protected def bindingVersion: StrField = _internal.bindingVersion override def withBindingVersion(bindingVersion: String): this.type = { _internal.withBindingVersion(bindingVersion) @@ -28,6 +30,27 @@ case class HttpMessageBinding(override private[amf] val _internal: InternalHttpM _internal.withHeaders(headers) this } +} + +@JSExportAll +case class HttpMessageBinding020(override private[amf] val _internal: InternalHttpMessageBinding020) + extends HttpMessageBinding(_internal) { + @JSExportTopLevel("HttpMessageBinding020") + def this() = this(InternalHttpMessageBinding020()) + override def linkCopy(): HttpMessageBinding020 = _internal.linkCopy() +} + +@JSExportAll +case class HttpMessageBinding030(override private[amf] val _internal: InternalHttpMessageBinding030) + extends HttpMessageBinding(_internal) { + @JSExportTopLevel("HttpMessageBinding030") + def this() = this(InternalHttpMessageBinding030()) + + def statusCode: IntField = _internal.statusCode + def withStatusCode(statusCode: Int): this.type = { + _internal.withStatusCode(statusCode) + this + } - override def linkCopy(): HttpMessageBinding = _internal.linkCopy() + override def linkCopy(): HttpMessageBinding030 = _internal.linkCopy() } diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/client/platform/model/domain/bindings/http/HttpOperationBinding.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/client/platform/model/domain/bindings/http/HttpOperationBinding.scala index e3c52c8550..f2fbebebb6 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/client/platform/model/domain/bindings/http/HttpOperationBinding.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/client/platform/model/domain/bindings/http/HttpOperationBinding.scala @@ -3,26 +3,23 @@ package amf.apicontract.client.platform.model.domain.bindings.http import amf.apicontract.client.platform.model.domain.bindings.{BindingVersion, OperationBinding} import amf.core.client.platform.model.StrField import amf.core.client.platform.model.domain.Shape -import amf.apicontract.client.scala.model.domain.bindings.http.{HttpOperationBinding => InternalHttpOperationBinding} +import amf.apicontract.client.scala.model.domain.bindings.http.{ + HttpOperationBinding => InternalHttpOperationBinding, + HttpOperationBinding010 => InternalHttpOperationBinding010, + HttpOperationBinding020 => InternalHttpOperationBinding020 +} import amf.apicontract.internal.convert.ApiClientConverters._ import scala.scalajs.js.annotation.{JSExportAll, JSExportTopLevel} @JSExportAll -case class HttpOperationBinding(override private[amf] val _internal: InternalHttpOperationBinding) +abstract class HttpOperationBinding(override private[amf] val _internal: InternalHttpOperationBinding) extends OperationBinding with BindingVersion { - @JSExportTopLevel("HttpOperationBinding") - def this() = this(InternalHttpOperationBinding()) - def operationType: StrField = _internal.operationType - def method: StrField = _internal.method - def query: Shape = _internal.query + def method: StrField = _internal.method + def query: Shape = _internal.query - def withOperationType(`type`: String): this.type = { - _internal.withOperationType(`type`) - this - } def withMethod(method: String): this.type = { _internal.withMethod(method) this @@ -36,6 +33,29 @@ case class HttpOperationBinding(override private[amf] val _internal: InternalHtt _internal.withBindingVersion(bindingVersion) this } +} + +@JSExportAll +case class HttpOperationBinding010(override private[amf] val _internal: InternalHttpOperationBinding010) + extends HttpOperationBinding(_internal) { + @JSExportTopLevel("HttpOperationBinding010") + def this() = this(InternalHttpOperationBinding010()) + + def operationType: StrField = _internal.operationType + + def withOperationType(`type`: String): this.type = { + _internal.withOperationType(`type`) + this + } + + override def linkCopy(): HttpOperationBinding010 = _internal.linkCopy() +} + +@JSExportAll +case class HttpOperationBinding020(override private[amf] val _internal: InternalHttpOperationBinding020) + extends HttpOperationBinding(_internal) { + @JSExportTopLevel("HttpOperationBinding020") + def this() = this(InternalHttpOperationBinding020()) - override def linkCopy(): HttpOperationBinding = _internal.linkCopy() + override def linkCopy(): HttpOperationBinding020 = _internal.linkCopy() } diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/client/platform/model/domain/bindings/mqtt/MqttMessageBinding.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/client/platform/model/domain/bindings/mqtt/MqttMessageBinding.scala index 72e3b2cb5b..1ebca74278 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/client/platform/model/domain/bindings/mqtt/MqttMessageBinding.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/client/platform/model/domain/bindings/mqtt/MqttMessageBinding.scala @@ -1,24 +1,72 @@ package amf.apicontract.client.platform.model.domain.bindings.mqtt import amf.apicontract.client.platform.model.domain.bindings.{BindingVersion, MessageBinding} -import amf.core.client.platform.model.StrField +import amf.core.client.platform.model.{IntField, StrField} import amf.apicontract.internal.convert.ApiClientConverters._ -import amf.apicontract.client.scala.model.domain.bindings.mqtt.{MqttMessageBinding => InternalMqttMessageBinding} +import amf.apicontract.client.scala.model.domain.bindings.mqtt.{ + MqttMessageBinding => InternalMqttMessageBinding, + MqttMessageBinding010 => InternalMqttMessageBinding010, + MqttMessageBinding020 => InternalMqttMessageBinding020 +} +import amf.core.client.platform.model.domain.Shape import scala.scalajs.js.annotation.{JSExportAll, JSExportTopLevel} @JSExportAll -case class MqttMessageBinding(override private[amf] val _internal: InternalMqttMessageBinding) +abstract class MqttMessageBinding(override private[amf] val _internal: InternalMqttMessageBinding) extends MessageBinding with BindingVersion { - @JSExportTopLevel("MqttMessageBinding") - def this() = this(InternalMqttMessageBinding()) - override protected def bindingVersion: StrField = _internal.bindingVersion override def withBindingVersion(bindingVersion: String): this.type = { _internal.withBindingVersion(bindingVersion) this } +} + +@JSExportAll +case class MqttMessageBinding010(override private[amf] val _internal: InternalMqttMessageBinding010) + extends MqttMessageBinding(_internal) { + @JSExportTopLevel("MqttMessageBinding010") + def this() = this(InternalMqttMessageBinding010()) + override def linkCopy(): MqttMessageBinding010 = _internal.linkCopy() +} + +@JSExportAll +case class MqttMessageBinding020(override private[amf] val _internal: InternalMqttMessageBinding020) + extends MqttMessageBinding(_internal) { + @JSExportTopLevel("MqttMessageBinding020") + def this() = this(InternalMqttMessageBinding020()) + + def payloadFormatIndicator: IntField = _internal.payloadFormatIndicator + def correlationData: Shape = _internal.correlationData + def contentType: StrField = _internal.contentType + def responseTopic: StrField = _internal.responseTopic + def responseTopicSchema: Shape = _internal.responseTopicSchema + + def withPayloadFormatIndicator(payloadFormatIndicator: Int): this.type = { + _internal.withPayloadFormatIndicator(payloadFormatIndicator) + this + } + + def withCorrelationData(correlationData: Shape): this.type = { + _internal.withCorrelationData(correlationData) + this + } + + def withContentType(contentType: String): this.type = { + _internal.withContentType(contentType) + this + } + + def withResponseTopic(responseTopic: String): this.type = { + _internal.withResponseTopic(responseTopic) + this + } + + def withResponseTopicSchema(responseTopicSchema: Shape): this.type = { + _internal.withResponseTopicSchema(responseTopicSchema) + this + } - override def linkCopy(): MqttMessageBinding = _internal.linkCopy() + override def linkCopy(): MqttMessageBinding020 = _internal.linkCopy() } diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/client/platform/model/domain/bindings/mqtt/MqttOperationBinding.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/client/platform/model/domain/bindings/mqtt/MqttOperationBinding.scala index eb5c42d435..7a64aa8211 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/client/platform/model/domain/bindings/mqtt/MqttOperationBinding.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/client/platform/model/domain/bindings/mqtt/MqttOperationBinding.scala @@ -2,18 +2,20 @@ package amf.apicontract.client.platform.model.domain.bindings.mqtt import amf.apicontract.client.platform.model.domain.bindings.{BindingVersion, OperationBinding} import amf.core.client.platform.model.{BoolField, IntField, StrField} -import amf.apicontract.client.scala.model.domain.bindings.mqtt.{MqttOperationBinding => InternalMqttOperationBinding} +import amf.apicontract.client.scala.model.domain.bindings.mqtt.{ + MqttOperationBinding => InternalMqttOperationBinding, + MqttOperationBinding010 => InternalMqttOperationBinding010, + MqttOperationBinding020 => InternalMqttOperationBinding020 +} import amf.apicontract.internal.convert.ApiClientConverters._ +import amf.core.client.platform.model.domain.Shape import scala.scalajs.js.annotation.{JSExportAll, JSExportTopLevel} @JSExportAll -case class MqttOperationBinding(override private[amf] val _internal: InternalMqttOperationBinding) +abstract class MqttOperationBinding(override private[amf] val _internal: InternalMqttOperationBinding) extends OperationBinding with BindingVersion { - @JSExportTopLevel("MqttOperationBinding") - def this() = this(InternalMqttOperationBinding()) - def qos: IntField = _internal.qos def retain: BoolField = _internal.retain @@ -33,7 +35,34 @@ case class MqttOperationBinding(override private[amf] val _internal: InternalMqt _internal.withBindingVersion(bindingVersion) this } +} + +@JSExportAll +case class MqttOperationBinding010(override private[amf] val _internal: InternalMqttOperationBinding010) + extends MqttOperationBinding(_internal) { + @JSExportTopLevel("MqttOperationBinding010") + def this() = this(InternalMqttOperationBinding010()) + override def linkCopy(): MqttOperationBinding010 = _internal.linkCopy() +} + +@JSExportAll +case class MqttOperationBinding020(override private[amf] val _internal: InternalMqttOperationBinding020) + extends MqttOperationBinding(_internal) { + @JSExportTopLevel("MqttOperationBinding020") + def this() = this(InternalMqttOperationBinding020()) + + def messageExpiryInterval: IntField = _internal.messageExpiryInterval + def messageExpiryIntervalSchema: Shape = _internal.messageExpiryIntervalSchema + + def withMessageExpiryInterval(messageExpiryInterval: Int): this.type = { + _internal.withMessageExpiryInterval(messageExpiryInterval) + this + } - override def linkCopy(): MqttOperationBinding = _internal.linkCopy() + def withMessageExpiryIntervalSchema(messageExpiryIntervalSchema: Shape): this.type = { + _internal.withMessageExpiryIntervalSchema(messageExpiryIntervalSchema) + this + } + override def linkCopy(): MqttOperationBinding020 = _internal.linkCopy() } diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/client/platform/model/domain/bindings/mqtt/MqttServerBinding.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/client/platform/model/domain/bindings/mqtt/MqttServerBinding.scala index 2706409beb..44ed9101c5 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/client/platform/model/domain/bindings/mqtt/MqttServerBinding.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/client/platform/model/domain/bindings/mqtt/MqttServerBinding.scala @@ -3,20 +3,20 @@ package amf.apicontract.client.platform.model.domain.bindings.mqtt import amf.apicontract.client.platform.model.domain.bindings.{BindingVersion, ServerBinding} import amf.apicontract.client.scala.model.domain.bindings.mqtt.{ MqttServerBinding => InternalMqttServerBinding, + MqttServerBinding010 => InternalMqttServerBinding010, + MqttServerBinding020 => InternalMqttServerBinding020, MqttServerLastWill => InternalMqttServerLastWill } import amf.apicontract.internal.convert.ApiClientConverters._ -import amf.core.client.platform.model.domain.DomainElement +import amf.core.client.platform.model.domain.{DomainElement, Shape} import amf.core.client.platform.model.{BoolField, IntField, StrField} import scala.scalajs.js.annotation.{JSExportAll, JSExportTopLevel} @JSExportAll -case class MqttServerBinding(override private[amf] val _internal: InternalMqttServerBinding) +abstract class MqttServerBinding(override private[amf] val _internal: InternalMqttServerBinding) extends ServerBinding with BindingVersion { - @JSExportTopLevel("MqttServerBinding") - def this() = this(InternalMqttServerBinding()) override protected def bindingVersion: StrField = _internal.bindingVersion override def withBindingVersion(bindingVersion: String): this.type = { _internal.withBindingVersion(bindingVersion) @@ -44,8 +44,47 @@ case class MqttServerBinding(override private[amf] val _internal: InternalMqttSe _internal.withKeepAlive(keepAlive) this } +} + +@JSExportAll +case class MqttServerBinding010(override private[amf] val _internal: InternalMqttServerBinding010) + extends MqttServerBinding(_internal) { + @JSExportTopLevel("MqttServerBinding010") + def this() = this(InternalMqttServerBinding010()) + override def linkCopy(): MqttServerBinding010 = _internal.linkCopy() +} + +@JSExportAll +case class MqttServerBinding020(override private[amf] val _internal: InternalMqttServerBinding020) + extends MqttServerBinding(_internal) { + @JSExportTopLevel("MqttServerBinding020") + def this() = this(InternalMqttServerBinding020()) + + def sessionExpiryInterval: IntField = _internal.sessionExpiryInterval + def sessionExpiryIntervalSchema: Shape = _internal.sessionExpiryIntervalSchema + + def maximumPacketSize: IntField = _internal.maximumPacketSize + def maximumPacketSizeSchema: Shape = _internal.maximumPacketSizeSchema + + def withSessionExpiryInterval(sessionExpiryInterval: Int): this.type = { + _internal.withSessionExpiryInterval(sessionExpiryInterval) + this + } + def withSessionExpiryIntervalSchema(sessionExpiryIntervalSchema: Shape): this.type = { + _internal.withSessionExpiryIntervalSchema(sessionExpiryIntervalSchema) + this + } + + def withMaximumPacketSize(maximumPacketSize: Int): this.type = { + _internal.withMaximumPacketSize(maximumPacketSize) + this + } + def withMaximumPacketSizeSchema(maximumPacketSizeSchema: Shape): this.type = { + _internal.withMaximumPacketSizeSchema(maximumPacketSizeSchema) + this + } - override def linkCopy(): MqttServerBinding = _internal.linkCopy() + override def linkCopy(): MqttServerBinding020 = _internal.linkCopy() } @JSExportAll diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/client/platform/model/domain/bindings/solace/SolaceOperationBinding.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/client/platform/model/domain/bindings/solace/SolaceOperationBinding.scala index 6490dbb0ca..9fcfb5c4c2 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/client/platform/model/domain/bindings/solace/SolaceOperationBinding.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/client/platform/model/domain/bindings/solace/SolaceOperationBinding.scala @@ -1,49 +1,107 @@ package amf.apicontract.client.platform.model.domain.bindings.solace import amf.apicontract.client.platform.model.domain.bindings.{BindingVersion, OperationBinding} -import amf.apicontract.client.scala.model.domain.bindings.solace.{ - SolaceOperationBinding => InternalSolaceOperationBinding, - SolaceOperationDestination => InternalSolaceOperationDestination, - SolaceOperationQueue => InternalSolaceOperationQueue, - SolaceOperationTopic => InternalSolaceOperationTopic -} +import amf.apicontract.client.scala.model.domain.bindings.solace.{SolaceOperationBinding => InternalSolaceOperationBinding, SolaceOperationBinding010 => InternalSolaceOperationBinding010, SolaceOperationBinding020 => InternalSolaceOperationBinding020, SolaceOperationBinding030 => InternalSolaceOperationBinding030, SolaceOperationDestination => InternalSolaceOperationDestination, SolaceOperationDestination010 => InternalSolaceOperationDestination010, SolaceOperationDestination020 => InternalSolaceOperationDestination020, SolaceOperationDestination030 => InternalSolaceOperationDestination030, SolaceOperationDestination040 => InternalSolaceOperationDestination040, SolaceOperationQueue => InternalSolaceOperationQueue, SolaceOperationQueue010 => InternalSolaceOperationQueue010, SolaceOperationQueue030 => InternalSolaceOperationQueue030, SolaceOperationTopic => InternalSolaceOperationTopic} +import amf.apicontract.client.scala.model.domain.bindings.solace.{SolaceOperationDestination040 => InternalSolaceOperationDestination040, SolaceOperationBinding => InternalSolaceOperationBinding, SolaceOperationBinding010 => InternalSolaceOperationBinding010, SolaceOperationBinding020 => InternalSolaceOperationBinding020, SolaceOperationBinding030 => InternalSolaceOperationBinding030, SolaceOperationBinding040 => InternalSolaceOperationBinding040, SolaceOperationDestination => InternalSolaceOperationDestination, SolaceOperationDestination010 => InternalSolaceOperationDestination010, SolaceOperationDestination020 => InternalSolaceOperationDestination020, SolaceOperationDestination030 => InternalSolaceOperationDestination030, SolaceOperationQueue => InternalSolaceOperationQueue, SolaceOperationQueue010 => InternalSolaceOperationQueue010, SolaceOperationQueue030 => InternalSolaceOperationQueue030, SolaceOperationTopic => InternalSolaceOperationTopic} import amf.apicontract.internal.convert.ApiClientConverters._ -import amf.core.client.platform.model.StrField -import amf.core.client.platform.model.domain.{DomainElement, NamedDomainElement} +import amf.core.client.platform.model.{BoolField, IntField, StrField} +import amf.core.client.platform.model.domain.{DomainElement, Linkable, NamedDomainElement} import scala.scalajs.js.annotation.{JSExportAll, JSExportTopLevel} - +// Operation @JSExportAll -case class SolaceOperationBinding(override private[amf] val _internal: InternalSolaceOperationBinding) - extends OperationBinding +abstract class SolaceOperationBinding( + override private[amf] val _internal: InternalSolaceOperationBinding +) extends OperationBinding with BindingVersion { - @JSExportTopLevel("SolaceOperationBinding") - def this() = this(InternalSolaceOperationBinding()) - def destinations: ClientList[SolaceOperationDestination] = _internal.destinations.asClient + override protected def bindingVersion: StrField = _internal.bindingVersion + override def withBindingVersion(bindingVersion: String): this.type = { + _internal.withBindingVersion(bindingVersion) + this + } +} +@JSExportAll +case class SolaceOperationBinding010(override private[amf] val _internal: InternalSolaceOperationBinding010) + extends SolaceOperationBinding(_internal) { + @JSExportTopLevel("SolaceOperationBinding010") + def this() = this(InternalSolaceOperationBinding010()) + + def destinations: ClientList[SolaceOperationDestination010] = _internal.destinations.asClient - def withDestinations(destinations: ClientList[SolaceOperationDestination]): this.type = { + def withDestinations(destinations: ClientList[SolaceOperationDestination010]): this.type = { _internal.withDestinations(destinations.asInternal) this } + override def linkCopy(): SolaceOperationBinding = SolaceOperationBinding010( + _internal.linkCopy().asInstanceOf[InternalSolaceOperationBinding010] + ) +} +@JSExportAll +case class SolaceOperationBinding020(override private[amf] val _internal: InternalSolaceOperationBinding020) + extends SolaceOperationBinding(_internal) { + @JSExportTopLevel("SolaceOperationBinding020") + def this() = this(InternalSolaceOperationBinding020()) - override protected def bindingVersion: StrField = _internal.bindingVersion + def destinations: ClientList[SolaceOperationDestination020] = _internal.destinations.asClient - override def withBindingVersion(bindingVersion: String): this.type = { - _internal.withBindingVersion(bindingVersion) + def withDestinations(destinations: ClientList[SolaceOperationDestination020]): this.type = { + _internal.withDestinations(destinations.asInternal) this } + override def linkCopy(): SolaceOperationBinding = SolaceOperationBinding020( + _internal.linkCopy().asInstanceOf[InternalSolaceOperationBinding020]) +} +@JSExportAll +case class SolaceOperationBinding030(override private[amf] val _internal: InternalSolaceOperationBinding030) + extends SolaceOperationBinding(_internal) { + @JSExportTopLevel("SolaceOperationBinding030") + def this() = this(InternalSolaceOperationBinding030()) + + def destinations: ClientList[SolaceOperationDestination030] = _internal.destinations.asClient - override def linkCopy(): SolaceOperationBinding = _internal.linkCopy() + def withDestinations(destinations: ClientList[SolaceOperationDestination030]): this.type = { + _internal.withDestinations(destinations.asInternal) + this + } + override def linkCopy(): SolaceOperationBinding = SolaceOperationBinding030( + _internal.linkCopy().asInstanceOf[InternalSolaceOperationBinding030]) } @JSExportAll -case class SolaceOperationDestination(override private[amf] val _internal: InternalSolaceOperationDestination) - extends DomainElement { - - @JSExportTopLevel("SolaceOperationDestination") - def this() = this(InternalSolaceOperationDestination()) +case class SolaceOperationBinding040(override private[amf] val _internal: InternalSolaceOperationBinding040) + extends SolaceOperationBinding(_internal){ + @JSExportTopLevel("SolaceOperationBinding040") + def this() = this(InternalSolaceOperationBinding040()) + def destinations: ClientList[SolaceOperationDestination040] = _internal.destinations.asClient + def withDestinations(destinations: ClientList[SolaceOperationDestination040]): this.type = { + _internal.withDestinations(destinations.asInternal) + this + } + def timeToLive: IntField = _internal.timeToLive + def priority: IntField = _internal.priority + def dmqEligible: BoolField = _internal.dmqEligible + def withTimeToLive(value: Int): this.type = { + _internal.withTimeToLive(value) + this + } + def withPriority(value: Int): this.type = { + _internal.withPriority(value) + this + } + def withDmqEligible(value: Boolean): this.type = { + _internal.withDmqEligible(value) + this + } + override def linkCopy(): SolaceOperationBinding = SolaceOperationBinding040( + _internal.linkCopy().asInstanceOf[InternalSolaceOperationBinding040]) +} +// Operation Destination +@JSExportAll +abstract class SolaceOperationDestination(override private[amf] val _internal: InternalSolaceOperationDestination) + extends DomainElement { + def queue: SolaceOperationQueue = _internal.queue def destinationType: StrField = _internal.destinationType def deliveryMode: StrField = _internal.deliveryMode @@ -55,33 +113,100 @@ case class SolaceOperationDestination(override private[amf] val _internal: Inter _internal.withDeliveryMode(deliveryMode) this } + def withQueue(queue: SolaceOperationQueue): this.type = { + _internal.withQueue(queue) + this + } - def queue: SolaceOperationQueue = _internal.queue - def topic: SolaceOperationTopic = _internal.topic - def withQueue(queue: SolaceOperationQueue): this.type = { +} + +@JSExportAll +case class SolaceOperationDestination010(override private[amf] val _internal: InternalSolaceOperationDestination010) + extends SolaceOperationDestination(_internal) { + override def queue: SolaceOperationQueue010 = _internal.queue + + def withQueue(queue: SolaceOperationQueue010): this.type = { _internal.withQueue(queue) this } + @JSExportTopLevel("SolaceOperationDestination010") + def this() = this(InternalSolaceOperationDestination010()) + +} +@JSExportAll +case class SolaceOperationDestination020(override private[amf] val _internal: InternalSolaceOperationDestination020) + extends SolaceOperationDestination(_internal) { + @JSExportTopLevel("SolaceOperationDestination020") + def this() = this(InternalSolaceOperationDestination020()) + override def queue: SolaceOperationQueue010= _internal.queue + def withQueue(queue: SolaceOperationQueue010): this.type = { + _internal.withQueue(queue) + this + } + def topic: SolaceOperationTopic = _internal.topic + def withTopic(topic: SolaceOperationTopic): this.type = { + _internal.withTopic(topic) + this + } + def destinations: ClientList[SolaceOperationDestination020] = _internal.destinations.asClient + def withDestinations(destinations: ClientList[SolaceOperationDestination020]): this.type = { + _internal.withDestinations(destinations.asInternal) + this + } +} +@JSExportAll +case class SolaceOperationDestination030(override private[amf] val _internal: InternalSolaceOperationDestination030) + extends SolaceOperationDestination(_internal) { + @JSExportTopLevel("SolaceOperationDestination030") + def this() = this(InternalSolaceOperationDestination030()) + override def queue: SolaceOperationQueue030= _internal.queue + def withQueue(queue: SolaceOperationQueue030): this.type = { + _internal.withQueue(queue) + this + } + def topic: SolaceOperationTopic = _internal.topic + def withTopic(topic: SolaceOperationTopic): this.type = { + _internal.withTopic(topic) + this + } + def destinations: ClientList[SolaceOperationDestination030] = _internal.destinations.asClient + def withDestinations(destinations: ClientList[SolaceOperationDestination030]): this.type = { + _internal.withDestinations(destinations.asInternal) + this + } +} +@JSExportAll +case class SolaceOperationDestination040(override private[amf] val _internal: InternalSolaceOperationDestination040) + extends SolaceOperationDestination(_internal) { + @JSExportTopLevel("SolaceOperationDestination040") + def this() = this(InternalSolaceOperationDestination040()) + override def queue: SolaceOperationQueue030= _internal.queue + def withQueue(queue: SolaceOperationQueue030): this.type = { + _internal.withQueue(queue) + this + } + def topic: SolaceOperationTopic = _internal.topic def withTopic(topic: SolaceOperationTopic): this.type = { _internal.withTopic(topic) this } + def destinations: ClientList[SolaceOperationDestination040] = _internal.destinations.asClient + def withDestinations(destinations: ClientList[SolaceOperationDestination040]): this.type = { + _internal.withDestinations(destinations.asInternal) + this + } } +// Operation Queue @JSExportAll -case class SolaceOperationQueue(override private[amf] val _internal: InternalSolaceOperationQueue) +abstract class SolaceOperationQueue(override private[amf] val _internal: InternalSolaceOperationQueue) extends DomainElement with NamedDomainElement { - @JSExportTopLevel("SolaceOperationQueue") - def this() = this(InternalSolaceOperationQueue()) - def topicSubscriptions: ClientList[StrField] = _internal.topicSubscriptions.asClient def accessType: StrField = _internal.accessType - def maxMsgSpoolSize: StrField = _internal.maxMsgSpoolSize - def maxTtl: StrField = _internal.maxTtl def withTopicSubscriptions(topicSubscriptions: ClientList[String]): this.type = { _internal.withTopicSubscriptions(topicSubscriptions.asInternal) @@ -93,24 +218,38 @@ case class SolaceOperationQueue(override private[amf] val _internal: InternalSol this } + override def name: StrField = _internal.name + + override def withName(name: String): this.type = { + _internal.withName(name) + this + } +} +@JSExportAll +case class SolaceOperationQueue010(override private[amf] val _internal: InternalSolaceOperationQueue010) + extends SolaceOperationQueue(_internal) { + @JSExportTopLevel("SolaceOperationQueue010") + def this() = this(InternalSolaceOperationQueue010()) +} +@JSExportAll +case class SolaceOperationQueue030(override private[amf] val _internal: InternalSolaceOperationQueue030) + extends SolaceOperationQueue(_internal) { + @JSExportTopLevel("SolaceOperationQueue030") + def this() = this(InternalSolaceOperationQueue030()) + def maxMsgSpoolSize: StrField = _internal.maxMsgSpoolSize + def maxTtl: StrField = _internal.maxTtl + def withMaxMsgSpoolSize(maxMsgSpoolSize: String): this.type = { _internal.withMaxMsgSpoolSize(maxMsgSpoolSize) this } - def withMaxTtl(maxTtl: String): this.type = { _internal.withMaxTtl(maxTtl) this } - - override def name: StrField = _internal.name - - override def withName(name: String): this.type = { - _internal.withName(name) - this - } } +// Operation Topic @JSExportAll case class SolaceOperationTopic(override private[amf] val _internal: InternalSolaceOperationTopic) extends DomainElement { diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/client/platform/model/domain/bindings/solace/SolaceServerBinding.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/client/platform/model/domain/bindings/solace/SolaceServerBinding.scala index f5d343c3b1..ad2a727689 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/client/platform/model/domain/bindings/solace/SolaceServerBinding.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/client/platform/model/domain/bindings/solace/SolaceServerBinding.scala @@ -1,19 +1,22 @@ package amf.apicontract.client.platform.model.domain.bindings.solace import amf.apicontract.client.platform.model.domain.bindings.{BindingVersion, ServerBinding} -import amf.apicontract.client.scala.model.domain.bindings.solace.{SolaceServerBinding => InternalSolaceServerBinding} +import amf.apicontract.client.scala.model.domain.bindings.solace.{ + SolaceServerBinding => InternalSolaceServerBinding, + SolaceServerBinding010 => InternalSolaceServerBinding010, + SolaceServerBinding040 => InternalSolaceServerBinding040 +} import amf.apicontract.internal.convert.ApiClientConverters._ import amf.core.client.platform.model import amf.core.client.platform.model.StrField +import amf.core.client.platform.model.domain.Linkable import scala.scalajs.js.annotation.{JSExportAll, JSExportTopLevel} @JSExportAll -case class SolaceServerBinding(override private[amf] val _internal: InternalSolaceServerBinding) +abstract class SolaceServerBinding(override private[amf] val _internal: InternalSolaceServerBinding) extends ServerBinding with BindingVersion { - @JSExportTopLevel("SolaceServerBinding") - def this() = this(InternalSolaceServerBinding()) def msgVpn: StrField = _internal.msgVpn @@ -29,5 +32,22 @@ case class SolaceServerBinding(override private[amf] val _internal: InternalSola this } +} + +case class SolaceServerBinding010(override private[amf] val _internal: InternalSolaceServerBinding010) + extends SolaceServerBinding(_internal) { + @JSExportTopLevel("InternalSolaceServerBinding010") + def this() = this(InternalSolaceServerBinding010()) + override def linkCopy(): SolaceServerBinding = _internal.linkCopy() +} +case class SolaceServerBinding040(override private[amf] val _internal: InternalSolaceServerBinding040) + extends SolaceServerBinding(_internal) { + @JSExportTopLevel("InternalSolaceServerBinding040") + def this() = this(InternalSolaceServerBinding040()) + def clientName: StrField = _internal.clientName + def withClientName(clientName: String): this.type = { + _internal.withClientName(clientName) + this + } override def linkCopy(): SolaceServerBinding = _internal.linkCopy() } diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/client/scala/model/domain/bindings/googlepubsub/GooglePubSubChannelBinding.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/client/scala/model/domain/bindings/googlepubsub/GooglePubSubChannelBinding.scala index 2957996dbf..f26cbad17c 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/client/scala/model/domain/bindings/googlepubsub/GooglePubSubChannelBinding.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/client/scala/model/domain/bindings/googlepubsub/GooglePubSubChannelBinding.scala @@ -1,25 +1,35 @@ package amf.apicontract.client.scala.model.domain.bindings.googlepubsub import amf.apicontract.client.scala.model.domain.bindings.{BindingVersion, ChannelBinding} +import amf.apicontract.internal.metamodel.domain.bindings.GooglePubSubChannelBinding010Model.Topic import amf.apicontract.internal.metamodel.domain.bindings.GooglePubSubChannelBindingModel._ import amf.apicontract.internal.metamodel.domain.bindings.GooglePubSubSchemaSettingsModel._ -import amf.apicontract.internal.metamodel.domain.bindings.{GooglePubSubChannelBindingModel, GooglePubSubMessageStoragePolicyModel, GooglePubSubSchemaSettingsModel} +import amf.apicontract.internal.metamodel.domain.bindings.{ + GooglePubSubChannelBinding010Model, + GooglePubSubChannelBinding020Model, + GooglePubSubChannelBindingModel, + GooglePubSubMessageStoragePolicyModel, + GooglePubSubSchemaSettingsModel +} import amf.apicontract.internal.spec.async.parser.bindings.Bindings.GooglePubSub import amf.core.client.scala.model.StrField import amf.core.client.scala.model.domain.{DomainElement, Linkable, ObjectNode} import amf.core.internal.metamodel.Field import amf.core.internal.parser.domain.{Annotations, Fields} import amf.shapes.client.scala.model.domain.Key -class GooglePubSubChannelBinding(override val fields: Fields, override val annotations: Annotations) + +abstract class GooglePubSubChannelBinding(override val fields: Fields, override val annotations: Annotations) extends ChannelBinding with BindingVersion with Key { - override protected def bindingVersionField: Field = BindingVersion - def labels: ObjectNode = fields.field(Labels) + override def componentId: String = s"/$GooglePubSub-channel" + override def key: StrField = fields.field(GooglePubSubChannelBindingModel.key) + override protected def bindingVersionField: Field = BindingVersion + + def labels: ObjectNode = fields.field(Labels) def messageRetentionDuration: StrField = fields.field(MessageRetentionDuration) def messageStoragePolicy: GooglePubSubMessageStoragePolicy = fields.field(MessageStoragePolicy) def schemaSettings: GooglePubSubSchemaSettings = fields.field(SchemaSettings) - def topic: StrField = fields.field(Topic) def withLabels(labels: ObjectNode): this.type = set(Labels, labels) def withMessageRetentionDuration(messageRetentionDuration: String): this.type = @@ -28,27 +38,51 @@ class GooglePubSubChannelBinding(override val fields: Fields, override val annot set(SchemaSettings, schemaSettings) def withMessageStoragePolicy(messageStoragePolicy: GooglePubSubMessageStoragePolicy): this.type = set(MessageStoragePolicy, messageStoragePolicy) +} + +class GooglePubSubChannelBinding010(override val fields: Fields, override val annotations: Annotations) + extends GooglePubSubChannelBinding(fields, annotations) { + override def linkCopy(): GooglePubSubChannelBinding010 = GooglePubSubChannelBinding010().withId(id) + + /** apply method for create a new instance with fields and annotations. Aux method for copy */ + override protected def classConstructor: (Fields, Annotations) => Linkable with DomainElement = + GooglePubSubChannelBinding010.apply + + override def meta: GooglePubSubChannelBinding010Model.type = GooglePubSubChannelBinding010Model + + /** Value , path + field value that is used to compose the id when the object its adopted */ + override def componentId: String = s"/$GooglePubSub-channel-010" + + def topic: StrField = fields.field(Topic) def withTopic(topic: String): this.type = set(Topic, topic) +} - override def key: StrField = fields.field(GooglePubSubChannelBindingModel.key) +object GooglePubSubChannelBinding010 { + def apply(): GooglePubSubChannelBinding010 = apply(Annotations()) + def apply(annotations: Annotations): GooglePubSubChannelBinding010 = apply(Fields(), annotations) + def apply(fields: Fields, annotations: Annotations): GooglePubSubChannelBinding010 = + new GooglePubSubChannelBinding010(fields, annotations) +} - override def linkCopy(): GooglePubSubChannelBinding = GooglePubSubChannelBinding().withId(id) +class GooglePubSubChannelBinding020(override val fields: Fields, override val annotations: Annotations) + extends GooglePubSubChannelBinding(fields, annotations) { + override def linkCopy(): GooglePubSubChannelBinding020 = GooglePubSubChannelBinding020().withId(id) /** apply method for create a new instance with fields and annotations. Aux method for copy */ override protected def classConstructor: (Fields, Annotations) => Linkable with DomainElement = - GooglePubSubChannelBinding.apply + GooglePubSubChannelBinding020.apply - override def meta: GooglePubSubChannelBindingModel.type = GooglePubSubChannelBindingModel + override def meta: GooglePubSubChannelBinding020Model.type = GooglePubSubChannelBinding020Model /** Value , path + field value that is used to compose the id when the object its adopted */ - override def componentId: String = s"/$GooglePubSub-operation" + override def componentId: String = s"/$GooglePubSub-channel-020" } -object GooglePubSubChannelBinding { - def apply(): GooglePubSubChannelBinding = apply(Annotations()) - def apply(annotations: Annotations): GooglePubSubChannelBinding = apply(Fields(), annotations) - def apply(fields: Fields, annotations: Annotations): GooglePubSubChannelBinding = - new GooglePubSubChannelBinding(fields, annotations) +object GooglePubSubChannelBinding020 { + def apply(): GooglePubSubChannelBinding020 = apply(Annotations()) + def apply(annotations: Annotations): GooglePubSubChannelBinding020 = apply(Fields(), annotations) + def apply(fields: Fields, annotations: Annotations): GooglePubSubChannelBinding020 = + new GooglePubSubChannelBinding020(fields, annotations) } class GooglePubSubMessageStoragePolicy(override val fields: Fields, override val annotations: Annotations) diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/client/scala/model/domain/bindings/googlepubsub/GooglePubSubMessageBinding.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/client/scala/model/domain/bindings/googlepubsub/GooglePubSubMessageBinding.scala index 1a979d804e..cd4a583dd2 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/client/scala/model/domain/bindings/googlepubsub/GooglePubSubMessageBinding.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/client/scala/model/domain/bindings/googlepubsub/GooglePubSubMessageBinding.scala @@ -4,7 +4,11 @@ import amf.apicontract.client.scala.model.domain.bindings.{BindingVersion, Messa import amf.apicontract.internal.metamodel.domain.bindings.BindingVersion.BindingVersion import amf.apicontract.internal.metamodel.domain.bindings.GooglePubSubMessageBindingModel._ import amf.apicontract.internal.metamodel.domain.bindings.{ + GooglePubSubMessageBinding010Model, + GooglePubSubMessageBinding020Model, GooglePubSubMessageBindingModel, + GooglePubSubSchemaDefinition010Model, + GooglePubSubSchemaDefinition020Model, GooglePubSubSchemaDefinitionModel } import amf.apicontract.internal.spec.async.parser.bindings.Bindings.GooglePubSub @@ -14,53 +18,95 @@ import amf.core.internal.metamodel.Field import amf.core.internal.parser.domain.{Annotations, Fields} import amf.shapes.client.scala.model.domain.Key -class GooglePubSubMessageBinding(override val fields: Fields, override val annotations: Annotations) +abstract class GooglePubSubMessageBinding(override val fields: Fields, override val annotations: Annotations) extends MessageBinding with BindingVersion with Key { + override protected def bindingVersionField: Field = BindingVersion + override def key: StrField = fields.field(GooglePubSubMessageBindingModel.key) + override def componentId: String = s"/$GooglePubSub-message" - override protected def bindingVersionField: Field = BindingVersion - override def meta: GooglePubSubMessageBindingModel.type = GooglePubSubMessageBindingModel - def attributes: ObjectNode = fields.field(Attributes) - def orderingKey: StrField = fields.field(OrderingKey) - def schema: GooglePubSubSchemaDefinition = fields.field(Schema) - def withAttributes(attributes: ObjectNode): this.type = set(Attributes, attributes) - def withOrderingKey(orderingKey: String): this.type = set(OrderingKey, orderingKey) - def withSchema(schema: GooglePubSubSchemaDefinition): this.type = set(Schema, schema) + def attributes: ObjectNode = fields.field(Attributes) + def orderingKey: StrField = fields.field(OrderingKey) - override def key: StrField = fields.field(GooglePubSubMessageBindingModel.key) + def withAttributes(attributes: ObjectNode): this.type = set(Attributes, attributes) + def withOrderingKey(orderingKey: String): this.type = set(OrderingKey, orderingKey) +} + +class GooglePubSubMessageBinding010(override val fields: Fields, override val annotations: Annotations) + extends GooglePubSubMessageBinding(fields, annotations) { + override def meta: GooglePubSubMessageBinding010Model.type = GooglePubSubMessageBinding010Model + override def componentId: String = s"/$GooglePubSub-message-010" + + def schema: GooglePubSubSchemaDefinition010 = fields.field(Schema) + def withSchema(schema: GooglePubSubSchemaDefinition010): this.type = set(Schema, schema) + + override def linkCopy(): GooglePubSubMessageBinding010 = GooglePubSubMessageBinding010().withId(id) + + override protected def classConstructor: (Fields, Annotations) => Linkable with DomainElement = + GooglePubSubMessageBinding010.apply +} - override def componentId: String = s"/$GooglePubSub-message" +object GooglePubSubMessageBinding010 { + def apply(): GooglePubSubMessageBinding010 = apply(Annotations()) + def apply(annotations: Annotations): GooglePubSubMessageBinding010 = apply(Fields(), annotations) + def apply(fields: Fields, annotations: Annotations): GooglePubSubMessageBinding010 = + new GooglePubSubMessageBinding010(fields, annotations) +} + +class GooglePubSubMessageBinding020(override val fields: Fields, override val annotations: Annotations) + extends GooglePubSubMessageBinding(fields, annotations) { + override def meta: GooglePubSubMessageBinding020Model.type = GooglePubSubMessageBinding020Model + override def componentId: String = s"/$GooglePubSub-message-020" - override def linkCopy(): GooglePubSubMessageBinding = GooglePubSubMessageBinding().withId(id) + def schema: GooglePubSubSchemaDefinition020 = fields.field(Schema) + def withSchema(schema: GooglePubSubSchemaDefinition020): this.type = set(Schema, schema) + + override def linkCopy(): GooglePubSubMessageBinding020 = GooglePubSubMessageBinding020().withId(id) override protected def classConstructor: (Fields, Annotations) => Linkable with DomainElement = - GooglePubSubMessageBinding.apply + GooglePubSubMessageBinding020.apply +} +object GooglePubSubMessageBinding020 { + def apply(): GooglePubSubMessageBinding020 = apply(Annotations()) + def apply(annotations: Annotations): GooglePubSubMessageBinding020 = apply(Fields(), annotations) + def apply(fields: Fields, annotations: Annotations): GooglePubSubMessageBinding020 = + new GooglePubSubMessageBinding020(fields, annotations) } -object GooglePubSubMessageBinding { - def apply(): GooglePubSubMessageBinding = apply(Annotations()) - def apply(annotations: Annotations): GooglePubSubMessageBinding = apply(Fields(), annotations) - def apply(fields: Fields, annotations: Annotations): GooglePubSubMessageBinding = - new GooglePubSubMessageBinding(fields, annotations) +abstract class GooglePubSubSchemaDefinition(val fields: Fields, val annotations: Annotations) extends DomainElement { + def componentId: String = s"/$GooglePubSub-schemaDefinition" + def name: StrField = fields.field(GooglePubSubSchemaDefinitionModel.Name) + def withName(name: String): this.type = set(GooglePubSubSchemaDefinitionModel.Name, name) } -class GooglePubSubSchemaDefinition(val fields: Fields, val annotations: Annotations) extends DomainElement { - def meta: GooglePubSubSchemaDefinitionModel.type = GooglePubSubSchemaDefinitionModel - def name: StrField = fields.field(GooglePubSubSchemaDefinitionModel.Name) - def fieldType: StrField = fields.field(GooglePubSubSchemaDefinitionModel.FieldType) - def withName(name: String): this.type = set(GooglePubSubSchemaDefinitionModel.Name, name) - def withFieldType(fieldType: String): this.type = set(GooglePubSubSchemaDefinitionModel.FieldType, fieldType) - def componentId: String = s"/$GooglePubSub-schemaDefinition" +class GooglePubSubSchemaDefinition010(override val fields: Fields, override val annotations: Annotations) + extends GooglePubSubSchemaDefinition(fields, annotations) { + def meta: GooglePubSubSchemaDefinition010Model.type = GooglePubSubSchemaDefinition010Model + override def componentId: String = s"/$GooglePubSub-schemaDefinition-010" + def fieldType: StrField = fields.field(GooglePubSubSchemaDefinition010Model.FieldType) + def withFieldType(fieldType: String): this.type = set(GooglePubSubSchemaDefinition010Model.FieldType, fieldType) } -object GooglePubSubSchemaDefinition { - def apply(): GooglePubSubSchemaDefinition = apply(Annotations()) - def apply(annotations: Annotations): GooglePubSubSchemaDefinition = apply(Fields(), annotations) - def apply(fields: Fields, annotations: Annotations): GooglePubSubSchemaDefinition = - new GooglePubSubSchemaDefinition(fields, annotations) +object GooglePubSubSchemaDefinition010 { + def apply(): GooglePubSubSchemaDefinition010 = apply(Annotations()) + def apply(annotations: Annotations): GooglePubSubSchemaDefinition010 = apply(Fields(), annotations) + def apply(fields: Fields, annotations: Annotations): GooglePubSubSchemaDefinition010 = + new GooglePubSubSchemaDefinition010(fields, annotations) +} + +class GooglePubSubSchemaDefinition020(override val fields: Fields, override val annotations: Annotations) + extends GooglePubSubSchemaDefinition(fields, annotations) { + def meta: GooglePubSubSchemaDefinition020Model.type = GooglePubSubSchemaDefinition020Model + override def componentId: String = s"/$GooglePubSub-schemaDefinition-020" +} +object GooglePubSubSchemaDefinition020 { + def apply(): GooglePubSubSchemaDefinition020 = apply(Annotations()) + def apply(annotations: Annotations): GooglePubSubSchemaDefinition020 = apply(Fields(), annotations) + def apply(fields: Fields, annotations: Annotations): GooglePubSubSchemaDefinition020 = + new GooglePubSubSchemaDefinition020(fields, annotations) } diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/client/scala/model/domain/bindings/http/HttpMessageBinding.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/client/scala/model/domain/bindings/http/HttpMessageBinding.scala index 6266ab299f..22a00e936e 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/client/scala/model/domain/bindings/http/HttpMessageBinding.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/client/scala/model/domain/bindings/http/HttpMessageBinding.scala @@ -1,38 +1,72 @@ package amf.apicontract.client.scala.model.domain.bindings.http -import amf.core.client.scala.model.StrField +import amf.core.client.scala.model.{IntField, StrField} import amf.core.client.scala.model.domain.{DomainElement, Linkable} import amf.core.internal.metamodel.Field import amf.core.internal.parser.domain.{Annotations, Fields} -import amf.apicontract.internal.metamodel.domain.bindings.HttpMessageBindingModel +import amf.apicontract.internal.metamodel.domain.bindings.{ + HttpMessageBinding020Model, + HttpMessageBinding030Model, + HttpMessageBindingModel +} import amf.apicontract.internal.metamodel.domain.bindings.HttpMessageBindingModel._ import amf.apicontract.client.scala.model.domain.bindings.{BindingHeaders, BindingVersion, MessageBinding} import amf.shapes.client.scala.model.domain.Key -class HttpMessageBinding(override val fields: Fields, override val annotations: Annotations) +abstract class HttpMessageBinding(override val fields: Fields, override val annotations: Annotations) extends MessageBinding with BindingVersion with BindingHeaders with Key { - override def meta: HttpMessageBindingModel.type = HttpMessageBindingModel - - override def key: StrField = fields.field(HttpMessageBindingModel.key) - + override def key: StrField = fields.field(HttpMessageBindingModel.key) override def componentId: String = "/http-message" override protected def bindingVersionField: Field = BindingVersion override protected def headersField: Field = Headers +} - override def linkCopy(): HttpMessageBinding = HttpMessageBinding().withId(id) +class HttpMessageBinding020(override val fields: Fields, override val annotations: Annotations) + extends HttpMessageBinding(fields, annotations) { + override def meta: HttpMessageBinding020Model.type = HttpMessageBinding020Model + + override def componentId: String = "/http-message-020" + + override def linkCopy(): HttpMessageBinding020 = HttpMessageBinding020().withId(id) override protected def classConstructor: (Fields, Annotations) => Linkable with DomainElement = - HttpMessageBinding.apply + HttpMessageBinding020.apply +} + +object HttpMessageBinding020 { + def apply(): HttpMessageBinding020 = apply(Annotations()) + + def apply(annotations: Annotations): HttpMessageBinding020 = apply(Fields(), annotations) + + def apply(fields: Fields, annotations: Annotations): HttpMessageBinding020 = + new HttpMessageBinding020(fields, annotations) } -object HttpMessageBinding { +class HttpMessageBinding030(override val fields: Fields, override val annotations: Annotations) + extends HttpMessageBinding(fields, annotations) { + override def meta: HttpMessageBinding030Model.type = HttpMessageBinding030Model + + override def componentId: String = "/http-message-030" + + override def linkCopy(): HttpMessageBinding030 = HttpMessageBinding030().withId(id) + + def statusCode: IntField = fields.field(HttpMessageBinding030Model.StatusCode) + def withStatusCode(statusCode: Int): this.type = { + set(HttpMessageBinding030Model.StatusCode, statusCode) + } + + override protected def classConstructor: (Fields, Annotations) => Linkable with DomainElement = + HttpMessageBinding030.apply +} - def apply(): HttpMessageBinding = apply(Annotations()) +object HttpMessageBinding030 { + def apply(): HttpMessageBinding030 = apply(Annotations()) - def apply(annotations: Annotations): HttpMessageBinding = apply(Fields(), annotations) + def apply(annotations: Annotations): HttpMessageBinding030 = apply(Fields(), annotations) - def apply(fields: Fields, annotations: Annotations): HttpMessageBinding = new HttpMessageBinding(fields, annotations) + def apply(fields: Fields, annotations: Annotations): HttpMessageBinding030 = + new HttpMessageBinding030(fields, annotations) } diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/client/scala/model/domain/bindings/http/HttpOperationBinding.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/client/scala/model/domain/bindings/http/HttpOperationBinding.scala index 8331a0c701..4fab146b61 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/client/scala/model/domain/bindings/http/HttpOperationBinding.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/client/scala/model/domain/bindings/http/HttpOperationBinding.scala @@ -3,43 +3,71 @@ import amf.core.client.scala.model.StrField import amf.core.client.scala.model.domain.{DomainElement, Linkable, Shape} import amf.core.internal.metamodel.Field import amf.core.internal.parser.domain.{Annotations, Fields} -import amf.apicontract.internal.metamodel.domain.bindings.HttpOperationBindingModel +import amf.apicontract.internal.metamodel.domain.bindings.{ + HttpOperationBinding010Model, + HttpOperationBinding020Model, + HttpOperationBindingModel +} import amf.apicontract.internal.metamodel.domain.bindings.HttpOperationBindingModel._ import amf.apicontract.client.scala.model.domain.bindings.{BindingVersion, OperationBinding} import amf.shapes.client.scala.model.domain.Key -class HttpOperationBinding(override val fields: Fields, override val annotations: Annotations) +abstract class HttpOperationBinding(override val fields: Fields, override val annotations: Annotations) extends OperationBinding with BindingVersion with Key { + override def key: StrField = fields.field(HttpOperationBindingModel.key) + override protected def bindingVersionField: Field = BindingVersion + override def componentId: String = "/http-operation" - override def key: StrField = fields.field(HttpOperationBindingModel.key) + def method: StrField = fields.field(Method) + def query: Shape = fields.field(Query) - def method: StrField = fields.field(Method) - def query: Shape = fields.field(Query) - def operationType: StrField = fields.field(OperationType) + def withMethod(method: String): this.type = set(Method, method) + def withQuery(query: Shape): this.type = set(Query, query) +} - override protected def bindingVersionField: Field = BindingVersion - override def meta: HttpOperationBindingModel.type = HttpOperationBindingModel +class HttpOperationBinding010(override val fields: Fields, override val annotations: Annotations) + extends HttpOperationBinding(fields, annotations) { + override def componentId: String = "/http-operation-010" - def withOperationType(`type`: String): this.type = set(OperationType, `type`) - def withMethod(method: String): this.type = set(Method, method) - def withQuery(query: Shape): this.type = set(Query, query) + def operationType: StrField = fields.field(HttpOperationBinding010Model.OperationType) + def withOperationType(`type`: String): this.type = set(HttpOperationBinding010Model.OperationType, `type`) - override def componentId: String = "/http-operation" + override def meta: HttpOperationBinding010Model.type = HttpOperationBinding010Model - override def linkCopy(): HttpOperationBinding = HttpOperationBinding().withId(id) + override def linkCopy(): HttpOperationBinding010 = HttpOperationBinding010().withId(id) override protected def classConstructor: (Fields, Annotations) => Linkable with DomainElement = - HttpOperationBinding.apply + HttpOperationBinding010.apply } -object HttpOperationBinding { +object HttpOperationBinding010 { + def apply(): HttpOperationBinding010 = apply(Annotations()) + + def apply(annotations: Annotations): HttpOperationBinding010 = apply(Fields(), annotations) + + def apply(fields: Fields, annotations: Annotations): HttpOperationBinding010 = + new HttpOperationBinding010(fields, annotations) +} + +class HttpOperationBinding020(override val fields: Fields, override val annotations: Annotations) + extends HttpOperationBinding(fields, annotations) { + override def componentId: String = "/http-operation-020" + + override def meta: HttpOperationBinding020Model.type = HttpOperationBinding020Model + + override def linkCopy(): HttpOperationBinding020 = HttpOperationBinding020().withId(id) + + override protected def classConstructor: (Fields, Annotations) => Linkable with DomainElement = + HttpOperationBinding020.apply +} - def apply(): HttpOperationBinding = apply(Annotations()) +object HttpOperationBinding020 { + def apply(): HttpOperationBinding020 = apply(Annotations()) - def apply(annotations: Annotations): HttpOperationBinding = apply(Fields(), annotations) + def apply(annotations: Annotations): HttpOperationBinding020 = apply(Fields(), annotations) - def apply(fields: Fields, annotations: Annotations): HttpOperationBinding = - new HttpOperationBinding(fields, annotations) + def apply(fields: Fields, annotations: Annotations): HttpOperationBinding020 = + new HttpOperationBinding020(fields, annotations) } diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/client/scala/model/domain/bindings/mqtt/MqttMessageBinding.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/client/scala/model/domain/bindings/mqtt/MqttMessageBinding.scala index 0113495b2c..f13eb31311 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/client/scala/model/domain/bindings/mqtt/MqttMessageBinding.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/client/scala/model/domain/bindings/mqtt/MqttMessageBinding.scala @@ -1,34 +1,75 @@ package amf.apicontract.client.scala.model.domain.bindings.mqtt -import amf.core.client.scala.model.StrField -import amf.core.client.scala.model.domain.{DomainElement, Linkable} +import amf.core.client.scala.model.{IntField, StrField} +import amf.core.client.scala.model.domain.{DomainElement, Linkable, Shape} import amf.core.internal.metamodel.Field import amf.core.internal.parser.domain.{Annotations, Fields} -import amf.apicontract.internal.metamodel.domain.bindings.MqttMessageBindingModel +import amf.apicontract.internal.metamodel.domain.bindings.{ + MqttMessageBinding010Model, + MqttMessageBinding020Model, + MqttMessageBindingModel +} import amf.apicontract.internal.metamodel.domain.bindings.MqttMessageBindingModel._ import amf.apicontract.client.scala.model.domain.bindings.{BindingVersion, MessageBinding} +import amf.apicontract.internal.metamodel.domain.bindings.MqttMessageBinding020Model.{ + ContentType, + CorrelationData, + PayloadFormatIndicator, + ResponseTopic, + ResponseTopicSchema +} import amf.shapes.client.scala.model.domain.Key -class MqttMessageBinding(override val fields: Fields, override val annotations: Annotations) +abstract class MqttMessageBinding(override val fields: Fields, override val annotations: Annotations) extends MessageBinding with BindingVersion with Key { override protected def bindingVersionField: Field = BindingVersion - override def meta: MqttMessageBindingModel.type = MqttMessageBindingModel - - override val key: StrField = fields.field(MqttMessageBindingModel.key) - - override def componentId: String = "/mqtt-message" - override def linkCopy(): MqttMessageBinding = MqttMessageBinding().withId(id) + override val key: StrField = fields.field(MqttMessageBindingModel.key) + override def componentId: String = "/mqtt-message" +} +class MqttMessageBinding010(override val fields: Fields, override val annotations: Annotations) + extends MqttMessageBinding(fields, annotations) { + override def componentId: String = "/mqtt-message-010" + override def meta: MqttMessageBinding010Model.type = MqttMessageBinding010Model + override def linkCopy(): MqttMessageBinding010 = MqttMessageBinding010().withId(id) override protected def classConstructor: (Fields, Annotations) => Linkable with DomainElement = - MqttMessageBinding.apply + MqttMessageBinding010.apply } -object MqttMessageBinding { +object MqttMessageBinding010 { + def apply(): MqttMessageBinding010 = apply(Annotations()) + def apply(annotations: Annotations): MqttMessageBinding010 = apply(Fields(), annotations) + def apply(fields: Fields, annotations: Annotations): MqttMessageBinding010 = + new MqttMessageBinding010(fields, annotations) +} + +class MqttMessageBinding020(override val fields: Fields, override val annotations: Annotations) + extends MqttMessageBinding(fields, annotations) { + override def componentId: String = "/mqtt-message-020" + override def meta: MqttMessageBinding020Model.type = MqttMessageBinding020Model + + def payloadFormatIndicator: IntField = fields.field(PayloadFormatIndicator) + def correlationData: Shape = fields.field(CorrelationData) + def contentType: StrField = fields.field(ContentType) + def responseTopic: StrField = fields.field(ResponseTopic) + def responseTopicSchema: Shape = fields.field(ResponseTopicSchema) - def apply(): MqttMessageBinding = apply(Annotations()) + def withPayloadFormatIndicator(payloadFormatIndicator: Int): this.type = + set(PayloadFormatIndicator, payloadFormatIndicator) + def withCorrelationData(correlationData: Shape): this.type = set(CorrelationData, correlationData) + def withContentType(contentType: String): this.type = set(ContentType, contentType) + def withResponseTopic(responseTopic: String): this.type = set(ResponseTopic, responseTopic) + def withResponseTopicSchema(responseTopicSchema: Shape): this.type = set(ResponseTopicSchema, responseTopicSchema) - def apply(annotations: Annotations): MqttMessageBinding = apply(Fields(), annotations) + override def linkCopy(): MqttMessageBinding020 = MqttMessageBinding020().withId(id) + override protected def classConstructor: (Fields, Annotations) => Linkable with DomainElement = + MqttMessageBinding020.apply +} - def apply(fields: Fields, annotations: Annotations): MqttMessageBinding = new MqttMessageBinding(fields, annotations) +object MqttMessageBinding020 { + def apply(): MqttMessageBinding020 = apply(Annotations()) + def apply(annotations: Annotations): MqttMessageBinding020 = apply(Fields(), annotations) + def apply(fields: Fields, annotations: Annotations): MqttMessageBinding020 = + new MqttMessageBinding020(fields, annotations) } diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/client/scala/model/domain/bindings/mqtt/MqttOperationBinding.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/client/scala/model/domain/bindings/mqtt/MqttOperationBinding.scala index 6b89725abe..80dd38ba30 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/client/scala/model/domain/bindings/mqtt/MqttOperationBinding.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/client/scala/model/domain/bindings/mqtt/MqttOperationBinding.scala @@ -1,41 +1,76 @@ package amf.apicontract.client.scala.model.domain.bindings.mqtt -import amf.core.client.scala.model.domain.{DomainElement, Linkable} +import amf.core.client.scala.model.domain.{DomainElement, Linkable, Shape} import amf.core.client.scala.model.{BoolField, IntField, StrField} import amf.core.internal.metamodel.Field import amf.core.internal.parser.domain.{Annotations, Fields} -import amf.apicontract.internal.metamodel.domain.bindings.MqttOperationBindingModel +import amf.apicontract.internal.metamodel.domain.bindings.{ + MqttOperationBinding010Model, + MqttOperationBinding020Model, + MqttOperationBindingModel +} import amf.apicontract.internal.metamodel.domain.bindings.MqttOperationBindingModel._ import amf.apicontract.client.scala.model.domain.bindings.{BindingVersion, OperationBinding} +import amf.apicontract.internal.metamodel.domain.bindings.MqttOperationBinding020Model.{ + MessageExpiryInterval, + MessageExpiryIntervalSchema +} import amf.shapes.client.scala.model.domain.Key -class MqttOperationBinding(override val fields: Fields, override val annotations: Annotations) +abstract class MqttOperationBinding(override val fields: Fields, override val annotations: Annotations) extends OperationBinding with BindingVersion with Key { override protected def bindingVersionField: Field = BindingVersion - override def meta: MqttOperationBindingModel.type = MqttOperationBindingModel + override def componentId: String = "/mqtt-operation" + override def key: StrField = fields.field(MqttOperationBindingModel.key) def qos: IntField = fields.field(Qos) def retain: BoolField = fields.field(Retain) def withQos(qos: Int): this.type = set(Qos, qos) def withRetain(retain: Boolean): this.type = set(Retain, retain) +} - override def key: StrField = fields.field(MqttOperationBindingModel.key) +class MqttOperationBinding010(override val fields: Fields, override val annotations: Annotations) + extends MqttOperationBinding(fields, annotations) { + override def componentId: String = "/mqtt-operation-010" + override def meta: MqttOperationBinding010Model.type = MqttOperationBinding010Model - override def componentId: String = "/mqtt-operation" - override def linkCopy(): MqttOperationBinding = MqttOperationBinding().withId(id) + override def linkCopy(): MqttOperationBinding010 = MqttOperationBinding010().withId(id) override protected def classConstructor: (Fields, Annotations) => Linkable with DomainElement = - MqttOperationBinding.apply + MqttOperationBinding010.apply +} + +object MqttOperationBinding010 { + def apply(): MqttOperationBinding010 = apply(Annotations()) + def apply(annotations: Annotations): MqttOperationBinding010 = apply(Fields(), annotations) + def apply(fields: Fields, annotations: Annotations): MqttOperationBinding010 = + new MqttOperationBinding010(fields, annotations) } -object MqttOperationBinding { +class MqttOperationBinding020(override val fields: Fields, override val annotations: Annotations) + extends MqttOperationBinding(fields, annotations) { + override def componentId: String = "/mqtt-operation-020" + override def meta: MqttOperationBinding020Model.type = MqttOperationBinding020Model - def apply(): MqttOperationBinding = apply(Annotations()) + def messageExpiryInterval: IntField = fields.field(MessageExpiryInterval) + def messageExpiryIntervalSchema: Shape = fields.field(MessageExpiryIntervalSchema) - def apply(annotations: Annotations): MqttOperationBinding = apply(Fields(), annotations) + def withMessageExpiryInterval(messageExpiryInterval: Int): this.type = + set(MessageExpiryInterval, messageExpiryInterval) + def withMessageExpiryIntervalSchema(messageExpiryIntervalSchema: Shape): this.type = + set(MessageExpiryIntervalSchema, messageExpiryIntervalSchema) + + override def linkCopy(): MqttOperationBinding020 = MqttOperationBinding020().withId(id) + + override protected def classConstructor: (Fields, Annotations) => Linkable with DomainElement = + MqttOperationBinding020.apply +} - def apply(fields: Fields, annotations: Annotations): MqttOperationBinding = - new MqttOperationBinding(fields, annotations) +object MqttOperationBinding020 { + def apply(): MqttOperationBinding020 = apply(Annotations()) + def apply(annotations: Annotations): MqttOperationBinding020 = apply(Fields(), annotations) + def apply(fields: Fields, annotations: Annotations): MqttOperationBinding020 = + new MqttOperationBinding020(fields, annotations) } diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/client/scala/model/domain/bindings/mqtt/MqttServerBinding.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/client/scala/model/domain/bindings/mqtt/MqttServerBinding.scala index 7ffa02b099..4e734ae5d2 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/client/scala/model/domain/bindings/mqtt/MqttServerBinding.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/client/scala/model/domain/bindings/mqtt/MqttServerBinding.scala @@ -1,20 +1,32 @@ package amf.apicontract.client.scala.model.domain.bindings.mqtt -import amf.core.client.scala.model.domain.{DomainElement, Linkable} +import amf.core.client.scala.model.domain.{DomainElement, Linkable, Shape} import amf.core.client.scala.model.{BoolField, IntField, StrField} import amf.core.internal.metamodel.Field import amf.core.internal.parser.domain.{Annotations, Fields} import amf.apicontract.internal.metamodel.domain.bindings.MqttServerBindingModel._ import amf.apicontract.internal.metamodel.domain.bindings.MqttServerLastWillModel._ -import amf.apicontract.internal.metamodel.domain.bindings.{MqttServerBindingModel, MqttServerLastWillModel} +import amf.apicontract.internal.metamodel.domain.bindings.{ + MqttServerBinding010Model, + MqttServerBinding020Model, + MqttServerBindingModel, + MqttServerLastWillModel +} import amf.apicontract.client.scala.model.domain.bindings.{BindingVersion, ServerBinding} +import amf.apicontract.internal.metamodel.domain.bindings.MqttServerBinding020Model.{ + MaximumPacketSize, + MaximumPacketSizeSchema, + SessionExpiryInterval, + SessionExpiryIntervalSchema +} import amf.shapes.client.scala.model.domain.Key -class MqttServerBinding(override val fields: Fields, override val annotations: Annotations) +abstract class MqttServerBinding(override val fields: Fields, override val annotations: Annotations) extends ServerBinding with BindingVersion with Key { override protected def bindingVersionField: Field = BindingVersion - override def meta: MqttServerBindingModel.type = MqttServerBindingModel + override def key: StrField = fields.field(MqttServerBindingModel.key) + override def componentId: String = "/mqtt-server" def clientId: StrField = fields.field(ClientId) def cleanSession: BoolField = fields.field(CleanSession) @@ -25,27 +37,60 @@ class MqttServerBinding(override val fields: Fields, override val annotations: A def withCleanSession(cleanSession: Boolean): this.type = set(CleanSession, cleanSession) def withLastWill(lastWill: MqttServerLastWill): this.type = set(LastWill, lastWill) def withKeepAlive(keepAlive: Int): this.type = set(KeepAlive, keepAlive) +} - override def componentId: String = "/mqtt-server" - override def linkCopy(): MqttServerBinding = MqttServerBinding().withId(id) - +class MqttServerBinding010(override val fields: Fields, override val annotations: Annotations) + extends MqttServerBinding(fields, annotations) { + override def meta: MqttServerBinding010Model.type = MqttServerBinding010Model + override def componentId: String = "/mqtt-server-010" + override def linkCopy(): MqttServerBinding010 = MqttServerBinding010().withId(id) override protected def classConstructor: (Fields, Annotations) => Linkable with DomainElement = - MqttServerBinding.apply + MqttServerBinding010.apply +} - override def key: StrField = fields.field(MqttServerBindingModel.key) +object MqttServerBinding010 { + def apply(): MqttServerBinding010 = apply(Annotations()) + def apply(annotations: Annotations): MqttServerBinding010 = apply(Fields(), annotations) + def apply(fields: Fields, annotations: Annotations): MqttServerBinding010 = + new MqttServerBinding010(fields, annotations) } -object MqttServerBinding { +class MqttServerBinding020(override val fields: Fields, override val annotations: Annotations) + extends MqttServerBinding(fields, annotations) { + override def meta: MqttServerBinding020Model.type = MqttServerBinding020Model + override def componentId: String = "/mqtt-server-020" + + def sessionExpiryInterval: IntField = fields.field(SessionExpiryInterval) + def sessionExpiryIntervalSchema: Shape = fields.field(SessionExpiryIntervalSchema) + + def maximumPacketSize: IntField = fields.field(MaximumPacketSize) + def maximumPacketSizeSchema: Shape = fields.field(MaximumPacketSizeSchema) - def apply(): MqttServerBinding = apply(Annotations()) + def withSessionExpiryInterval(sessionExpiryInterval: Int): this.type = + set(SessionExpiryInterval, sessionExpiryInterval) + def withSessionExpiryIntervalSchema(sessionExpiryIntervalSchema: Shape): this.type = + set(SessionExpiryIntervalSchema, sessionExpiryIntervalSchema) - def apply(annotations: Annotations): MqttServerBinding = apply(Fields(), annotations) + def withMaximumPacketSize(maximumPacketSize: Int): this.type = + set(MaximumPacketSize, maximumPacketSize) + def withMaximumPacketSizeSchema(maximumPacketSizeSchema: Shape): this.type = + set(MaximumPacketSizeSchema, maximumPacketSizeSchema) - def apply(fields: Fields, annotations: Annotations): MqttServerBinding = new MqttServerBinding(fields, annotations) + override def linkCopy(): MqttServerBinding020 = MqttServerBinding020().withId(id) + override protected def classConstructor: (Fields, Annotations) => Linkable with DomainElement = + MqttServerBinding020.apply +} + +object MqttServerBinding020 { + def apply(): MqttServerBinding020 = apply(Annotations()) + def apply(annotations: Annotations): MqttServerBinding020 = apply(Fields(), annotations) + def apply(fields: Fields, annotations: Annotations): MqttServerBinding020 = + new MqttServerBinding020(fields, annotations) } class MqttServerLastWill(override val fields: Fields, override val annotations: Annotations) extends DomainElement { override def meta: MqttServerLastWillModel.type = MqttServerLastWillModel + override def componentId: String = "/mqtt-last-will" def topic: StrField = fields.field(Topic) def qos: IntField = fields.field(Qos) @@ -56,15 +101,10 @@ class MqttServerLastWill(override val fields: Fields, override val annotations: def withQos(qos: Int): this.type = set(Qos, qos) def withRetain(retain: Boolean): this.type = set(Retain, retain) def withMessage(message: String): this.type = set(Message, message) - - override def componentId: String = "/mqtt-last-will" } object MqttServerLastWill { - - def apply(): MqttServerLastWill = apply(Annotations()) - - def apply(annotations: Annotations): MqttServerLastWill = apply(Fields(), annotations) - + def apply(): MqttServerLastWill = apply(Annotations()) + def apply(annotations: Annotations): MqttServerLastWill = apply(Fields(), annotations) def apply(fields: Fields, annotations: Annotations): MqttServerLastWill = new MqttServerLastWill(fields, annotations) } diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/client/scala/model/domain/bindings/pulsar/PulsarChannelBinding.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/client/scala/model/domain/bindings/pulsar/PulsarChannelBinding.scala index e0c7608e29..7fba432be5 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/client/scala/model/domain/bindings/pulsar/PulsarChannelBinding.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/client/scala/model/domain/bindings/pulsar/PulsarChannelBinding.scala @@ -35,7 +35,7 @@ class PulsarChannelBinding(override val fields: Fields, override val annotations override def key: StrField = fields.field(PulsarChannelBindingModel.key) - override def componentId: String = s"/$Pulsar-operation" + override def componentId: String = s"/$Pulsar-channel" override def linkCopy(): PulsarChannelBinding = PulsarChannelBinding().withId(id) override protected def classConstructor: (Fields, Annotations) => Linkable with DomainElement = diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/client/scala/model/domain/bindings/solace/SolaceOperationBinding.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/client/scala/model/domain/bindings/solace/SolaceOperationBinding.scala index 599e4bc79f..f07679dca8 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/client/scala/model/domain/bindings/solace/SolaceOperationBinding.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/client/scala/model/domain/bindings/solace/SolaceOperationBinding.scala @@ -2,8 +2,18 @@ package amf.apicontract.client.scala.model.domain.bindings.solace import amf.apicontract.client.scala.model.domain.bindings.{BindingVersion, OperationBinding} import amf.apicontract.internal.metamodel.domain.bindings.{ + SolaceOperationBinding010Model, + SolaceOperationBinding020Model, + SolaceOperationBinding030Model, + SolaceOperationBinding040Model, SolaceOperationBindingModel, + SolaceOperationDestination010Model, + SolaceOperationDestination020Model, + SolaceOperationDestination030Model, + SolaceOperationDestination040Model, SolaceOperationDestinationModel, + SolaceOperationQueue010Model, + SolaceOperationQueue030Model, SolaceOperationQueueModel, SolaceOperationTopicModel } @@ -11,101 +21,256 @@ import amf.apicontract.internal.metamodel.domain.bindings.SolaceOperationBinding import amf.apicontract.internal.spec.async.parser.bindings.Bindings.Solace import amf.core.client.scala.model.domain.{DomainElement, Linkable, NamedDomainElement} import amf.core.client.scala.model.{BoolField, IntField, StrField} -import amf.core.internal.metamodel.Field +import amf.core.internal.metamodel.{Field, Obj} import amf.core.internal.parser.domain.{Annotations, Fields} import amf.shapes.client.scala.model.domain.Key - -class SolaceOperationBinding(override val fields: Fields, override val annotations: Annotations) +// Operation Binding +abstract class SolaceOperationBinding(override val fields: Fields, override val annotations: Annotations) extends OperationBinding with BindingVersion with Key { - override protected def bindingVersionField: Field = BindingVersion - override def meta: SolaceOperationBindingModel.type = SolaceOperationBindingModel - + override protected def bindingVersionField: Field = BindingVersion + override def key: StrField = fields.field(SolaceOperationBindingModel.key) + override def componentId: String = s"/$Solace-operation" def destinations: Seq[SolaceOperationDestination] = fields.field(Destinations) - def withDestinations(destinations: Seq[SolaceOperationDestination]): this.type = setArray(Destinations, destinations) - - override def key: StrField = fields.field(SolaceOperationBindingModel.key) - - override def componentId: String = s"/$Solace-operation" - override def linkCopy(): SolaceOperationBinding = SolaceOperationBinding().withId(id) - +} +class SolaceOperationBinding010(fields: Fields, annotations: Annotations) + extends SolaceOperationBinding(fields, annotations) { + override def destinations: Seq[SolaceOperationDestination010] = + fields.field(SolaceOperationBinding010Model.Destinations) + def withDestinations(destinations: Seq[SolaceOperationDestination010]): this.type = + setArray(Destinations, destinations) + override def componentId: String = s"/$Solace-operation-010" + def meta: SolaceOperationBinding010Model.type = SolaceOperationBinding010Model + override def linkCopy(): SolaceOperationBinding = SolaceOperationBinding010().withId(id) + + /** apply method for create a new instance with fields and annotations. Aux method for copy */ + override protected def classConstructor: (Fields, Annotations) => Linkable with DomainElement = + SolaceOperationBinding010.apply +} +object SolaceOperationBinding010 { + def apply(): SolaceOperationBinding010 = apply(Annotations()) + def apply(annotations: Annotations): SolaceOperationBinding010 = apply(Fields(), annotations) + def apply(fields: Fields, annotations: Annotations): SolaceOperationBinding010 = + new SolaceOperationBinding010(fields, annotations) +} +class SolaceOperationBinding020(fields: Fields, annotations: Annotations) + extends SolaceOperationBinding(fields, annotations) { + override def destinations: Seq[SolaceOperationDestination020] = + fields.field(SolaceOperationBinding020Model.Destinations) + def withDestinations(destinations: Seq[SolaceOperationDestination020]): this.type = + setArray(Destinations, destinations) + override def componentId: String = s"/$Solace-operation-020" + def meta: SolaceOperationBinding020Model.type = SolaceOperationBinding020Model + override def linkCopy(): SolaceOperationBinding = SolaceOperationBinding020().withId(id) + + /** apply method for create a new instance with fields and annotations. Aux method for copy */ + override protected def classConstructor: (Fields, Annotations) => Linkable with DomainElement = + SolaceOperationBinding020.apply +} +object SolaceOperationBinding020 { + def apply(): SolaceOperationBinding020 = apply(Annotations()) + def apply(annotations: Annotations): SolaceOperationBinding020 = apply(Fields(), annotations) + def apply(fields: Fields, annotations: Annotations): SolaceOperationBinding020 = + new SolaceOperationBinding020(fields, annotations) +} +class SolaceOperationBinding030(fields: Fields, annotations: Annotations) + extends SolaceOperationBinding(fields, annotations) { + override def destinations: Seq[SolaceOperationDestination030] = + fields.field(SolaceOperationBinding030Model.Destinations) + def withDestinations(destinations: Seq[SolaceOperationDestination030]): this.type = + setArray(Destinations, destinations) + override def componentId: String = s"/$Solace-operation-030" + def meta: SolaceOperationBinding030Model.type = SolaceOperationBinding030Model + override def linkCopy(): SolaceOperationBinding = SolaceOperationBinding030().withId(id) + + /** apply method for create a new instance with fields and annotations. Aux method for copy */ override protected def classConstructor: (Fields, Annotations) => Linkable with DomainElement = - SolaceOperationBinding.apply + SolaceOperationBinding030.apply +} +object SolaceOperationBinding030 { + def apply(): SolaceOperationBinding030 = apply(Annotations()) + def apply(annotations: Annotations): SolaceOperationBinding030 = apply(Fields(), annotations) + def apply(fields: Fields, annotations: Annotations): SolaceOperationBinding030 = + new SolaceOperationBinding030(fields, annotations) } +class SolaceOperationBinding040(fields: Fields, annotations: Annotations) + extends SolaceOperationBinding(fields, annotations) { + + override def destinations: Seq[SolaceOperationDestination040] = + fields.field(SolaceOperationBinding040Model.Destinations) + + def withDestinations(destinations: Seq[SolaceOperationDestination040]): this.type = + setArray(Destinations, destinations) -object SolaceOperationBinding { + def timeToLive: IntField = fields.field(SolaceOperationBinding040Model.TimeToLive) + def priority: IntField = fields.field(SolaceOperationBinding040Model.Priority) + def dmqEligible: BoolField = fields.field(SolaceOperationBinding040Model.DmqEligible) - def apply(): SolaceOperationBinding = apply(Annotations()) + def withTimeToLive(value: Int): this.type = set(SolaceOperationBinding040Model.TimeToLive, value) + def withPriority(value: Int): this.type = set(SolaceOperationBinding040Model.Priority, value) + def withDmqEligible(value: Boolean): this.type = set(SolaceOperationBinding040Model.DmqEligible, value) - def apply(annotations: Annotations): SolaceOperationBinding = apply(Fields(), annotations) + override def componentId: String = s"/$Solace-operation-040" + override def meta: SolaceOperationBinding040Model.type = SolaceOperationBinding040Model + override def linkCopy(): SolaceOperationBinding = SolaceOperationBinding040().withId(id) - def apply(fields: Fields, annotations: Annotations): SolaceOperationBinding = - new SolaceOperationBinding(fields, annotations) + override protected def classConstructor: (Fields, Annotations) => Linkable with DomainElement = + SolaceOperationBinding040.apply +} +object SolaceOperationBinding040 { + def apply(): SolaceOperationBinding040 = apply(Annotations()) + def apply(annotations: Annotations): SolaceOperationBinding040 = apply(Fields(), annotations) + def apply(fields: Fields, annotations: Annotations): SolaceOperationBinding040 = + new SolaceOperationBinding040(fields, annotations) } -class SolaceOperationDestination(override val fields: Fields, override val annotations: Annotations) +//Operation Destination +abstract class SolaceOperationDestination(override val fields: Fields, override val annotations: Annotations) extends DomainElement { - override def meta: SolaceOperationDestinationModel.type = SolaceOperationDestinationModel def destinationType: StrField = fields.field(SolaceOperationDestinationModel.DestinationType) def deliveryMode: StrField = fields.field(SolaceOperationDestinationModel.DeliveryMode) def queue: SolaceOperationQueue = fields.field(SolaceOperationDestinationModel.Queue) - def topic: SolaceOperationTopic = fields.field(SolaceOperationDestinationModel.Topic) def withDestinationType(destinationType: String): this.type = set(SolaceOperationDestinationModel.DestinationType, destinationType) def withDeliveryMode(deliveryMode: String): this.type = set(SolaceOperationDestinationModel.DeliveryMode, deliveryMode) def withQueue(queue: SolaceOperationQueue): this.type = set(SolaceOperationDestinationModel.Queue, queue) - def withTopic(topic: SolaceOperationTopic): this.type = set(SolaceOperationDestinationModel.Topic, topic) override def componentId: String = s"/$Solace-destination" } +class SolaceOperationDestination010(override val fields: Fields, override val annotations: Annotations) + extends SolaceOperationDestination(fields, annotations) { + override def queue: SolaceOperationQueue010 = fields.field(SolaceOperationDestination010Model.Queue) + def withQueue(queue: SolaceOperationQueue010): this.type = set(SolaceOperationDestination010Model.Queue, queue) + override def componentId: String = s"/$Solace-operation-destination-010" + override def meta: SolaceOperationDestination010Model.type = SolaceOperationDestination010Model + +} +object SolaceOperationDestination010 { + def apply(): SolaceOperationDestination010 = apply(Annotations()) + def apply(annotations: Annotations): SolaceOperationDestination010 = apply(Fields(), annotations) + def apply(fields: Fields, annotations: Annotations): SolaceOperationDestination010 = + new SolaceOperationDestination010(fields, annotations) +} +class SolaceOperationDestination020(override val fields: Fields, override val annotations: Annotations) + extends SolaceOperationDestination(fields, annotations) { + override def meta: SolaceOperationDestination020Model.type = SolaceOperationDestination020Model + override def componentId: String = s"/$Solace-operation-destination-020" + override def queue: SolaceOperationQueue010 = fields.field(SolaceOperationDestination020Model.Queue) + def withQueue(queue: SolaceOperationQueue010): this.type = set(SolaceOperationDestination020Model.Queue, queue) + def topic: SolaceOperationTopic = fields.field(SolaceOperationDestination020Model.Topic) + def withTopic(topic: SolaceOperationTopic): this.type = set(SolaceOperationDestination020Model.Topic, topic) + def destinations: Seq[SolaceOperationDestination020] = fields.field(SolaceOperationBinding020Model.Destinations) + def withDestinations(destinations: Seq[SolaceOperationDestination020]): this.type = + setArray(SolaceOperationBinding020Model.Destinations, destinations) +} -object SolaceOperationDestination { +object SolaceOperationDestination020 { + def apply(): SolaceOperationDestination020 = apply(Annotations()) + def apply(annotations: Annotations): SolaceOperationDestination020 = apply(Fields(), annotations) + def apply(fields: Fields, annotations: Annotations): SolaceOperationDestination020 = + new SolaceOperationDestination020(fields, annotations) +} - def apply(): SolaceOperationDestination = apply(Annotations()) +class SolaceOperationDestination030(override val fields: Fields, override val annotations: Annotations) + extends SolaceOperationDestination(fields, annotations) { + + override def withDestinationType(destinationType: String): SolaceOperationDestination030.this.type = + super.withDestinationType(destinationType) + override def meta: SolaceOperationDestination030Model.type = SolaceOperationDestination030Model + override def componentId: String = s"/$Solace-operation-destination-030" + override def queue: SolaceOperationQueue030 = fields.field(SolaceOperationDestination030Model.Queue) + def withQueue(queue: SolaceOperationQueue030): this.type = set(SolaceOperationDestination030Model.Queue, queue) + def destinations: Seq[SolaceOperationDestination030] = fields.field(SolaceOperationBinding030Model.Destinations) + def withDestinations(destinations: Seq[SolaceOperationDestination030]): this.type = + setArray(SolaceOperationBinding030Model.Destinations, destinations) + def topic: SolaceOperationTopic = fields.field(SolaceOperationDestination030Model.Topic) + def withTopic(topic: SolaceOperationTopic): this.type = set(SolaceOperationDestination030Model.Topic, topic) +} - def apply(annotations: Annotations): SolaceOperationDestination = apply(Fields(), annotations) +object SolaceOperationDestination030 { + def apply(): SolaceOperationDestination030 = apply(Annotations()) + def apply(annotations: Annotations): SolaceOperationDestination030 = apply(Fields(), annotations) + def apply(fields: Fields, annotations: Annotations): SolaceOperationDestination030 = + new SolaceOperationDestination030(fields, annotations) +} - def apply(fields: Fields, annotations: Annotations): SolaceOperationDestination = - new SolaceOperationDestination(fields, annotations) +class SolaceOperationDestination040(override val fields: Fields, override val annotations: Annotations) + extends SolaceOperationDestination(fields, annotations) { + override def meta: SolaceOperationDestination040Model.type = SolaceOperationDestination040Model + override def componentId: String = s"/$Solace-operation-destination-040" + override def queue: SolaceOperationQueue030 = fields.field(SolaceOperationDestination040Model.Queue) + def withQueue(queue: SolaceOperationQueue030): this.type = set(SolaceOperationDestination040Model.Queue, queue) + def topic: SolaceOperationTopic = fields.field(SolaceOperationDestination040Model.Topic) + def withTopic(topic: SolaceOperationTopic): this.type = set(SolaceOperationDestination040Model.Topic, topic) + def destinations: Seq[SolaceOperationDestination040] = fields.field(SolaceOperationBinding040Model.Destinations) + def withDestinations(destinations: Seq[SolaceOperationDestination040]): this.type = + setArray(SolaceOperationBinding040Model.Destinations, destinations) + def withBindingVersion(bindingVersion: String): this.type = + set(SolaceOperationDestination040Model.BindingVersion, bindingVersion) + def bindingVersion: StrField = fields.field(SolaceOperationDestination040Model.BindingVersion) } -class SolaceOperationQueue(override val fields: Fields, override val annotations: Annotations) +object SolaceOperationDestination040 { + def apply(): SolaceOperationDestination040 = apply(Annotations()) + def apply(annotations: Annotations): SolaceOperationDestination040 = apply(Fields(), annotations) + def apply(fields: Fields, annotations: Annotations): SolaceOperationDestination040 = + new SolaceOperationDestination040(fields, annotations) +} +// Operation Queue +abstract class SolaceOperationQueue(override val fields: Fields, override val annotations: Annotations) extends DomainElement with NamedDomainElement { - override def meta: SolaceOperationQueueModel.type = SolaceOperationQueueModel override def nameField: Field = SolaceOperationQueueModel.Name def topicSubscriptions: Seq[StrField] = fields.field(SolaceOperationQueueModel.TopicSubscriptions) def accessType: StrField = fields.field(SolaceOperationQueueModel.AccessType) - def maxMsgSpoolSize: StrField = fields.field(SolaceOperationQueueModel.MaxMsgSpoolSize) - def maxTtl: StrField = fields.field(SolaceOperationQueueModel.MaxTtl) def withTopicSubscriptions(topicSubscriptions: Seq[String]): this.type = set(SolaceOperationQueueModel.TopicSubscriptions, topicSubscriptions) def withAccessType(accessType: String): this.type = set(SolaceOperationQueueModel.AccessType, accessType) - def withMaxMsgSpoolSize(maxMsgSpoolSize: String): this.type = - set(SolaceOperationQueueModel.MaxMsgSpoolSize, maxMsgSpoolSize) - def withMaxTtl(maxTtl: String): this.type = set(SolaceOperationQueueModel.MaxTtl, maxTtl) - override def componentId: String = s"/$Solace-queue" } -object SolaceOperationQueue { +class SolaceOperationQueue010(override val fields: Fields, override val annotations: Annotations) + extends SolaceOperationQueue(fields, annotations) { + override def componentId: String = s"/$Solace-operation-queue-010" + override def meta: SolaceOperationQueue010Model.type = SolaceOperationQueue010Model +} - def apply(): SolaceOperationQueue = apply(Annotations()) +object SolaceOperationQueue010 { + def apply(): SolaceOperationQueue010 = apply(Annotations()) - def apply(annotations: Annotations): SolaceOperationQueue = apply(Fields(), annotations) + def apply(annotations: Annotations): SolaceOperationQueue010 = apply(Fields(), annotations) - def apply(fields: Fields, annotations: Annotations): SolaceOperationQueue = - new SolaceOperationQueue(fields, annotations) + def apply(fields: Fields, annotations: Annotations): SolaceOperationQueue010 = + new SolaceOperationQueue010(fields, annotations) +} +class SolaceOperationQueue030(override val fields: Fields, override val annotations: Annotations) + extends SolaceOperationQueue(fields, annotations) { + override def componentId: String = s"/$Solace-operation-queue-030" + override def meta: SolaceOperationQueue030Model.type = SolaceOperationQueue030Model + def maxMsgSpoolSize: StrField = fields.field(SolaceOperationQueue030Model.MaxMsgSpoolSize) + def maxTtl: StrField = fields.field(SolaceOperationQueue030Model.MaxTtl) + + def withMaxMsgSpoolSize(value: String): this.type = set(SolaceOperationQueue030Model.MaxMsgSpoolSize, value) + def withMaxTtl(value: String): this.type = set(SolaceOperationQueue030Model.MaxTtl, value) } +object SolaceOperationQueue030 { + def apply(): SolaceOperationQueue030 = apply(Annotations()) + + def apply(annotations: Annotations): SolaceOperationQueue030 = apply(Fields(), annotations) + + def apply(fields: Fields, annotations: Annotations): SolaceOperationQueue030 = + new SolaceOperationQueue030(fields, annotations) +} +//Operation Topic class SolaceOperationTopic(override val fields: Fields, override val annotations: Annotations) extends DomainElement { override def meta: SolaceOperationTopicModel.type = SolaceOperationTopicModel @@ -118,7 +283,6 @@ class SolaceOperationTopic(override val fields: Fields, override val annotations } object SolaceOperationTopic { - def apply(): SolaceOperationTopic = apply(Annotations()) def apply(annotations: Annotations): SolaceOperationTopic = apply(Fields(), annotations) diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/client/scala/model/domain/bindings/solace/SolaceServerBinding.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/client/scala/model/domain/bindings/solace/SolaceServerBinding.scala index eec2f483cb..60eb6b7218 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/client/scala/model/domain/bindings/solace/SolaceServerBinding.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/client/scala/model/domain/bindings/solace/SolaceServerBinding.scala @@ -2,39 +2,58 @@ package amf.apicontract.client.scala.model.domain.bindings.solace import amf.apicontract.client.scala.model.domain.bindings.{BindingVersion, ServerBinding} import amf.apicontract.internal.metamodel.domain.bindings.SolaceServerBindingModel._ -import amf.apicontract.internal.metamodel.domain.bindings.SolaceServerBindingModel +import amf.apicontract.internal.metamodel.domain.bindings.{SolaceServerBinding010Model, SolaceServerBinding040Model, SolaceServerBindingModel} import amf.apicontract.internal.spec.async.parser.bindings.Bindings.Solace import amf.core.client.scala.model.domain.{DomainElement, Linkable} import amf.core.client.scala.model.StrField -import amf.core.internal.metamodel.Field +import amf.core.internal.metamodel.{Field, Obj} import amf.core.internal.parser.domain.{Annotations, Fields} import amf.shapes.client.scala.model.domain.Key -class SolaceServerBinding(override val fields: Fields, override val annotations: Annotations) +abstract class SolaceServerBinding(override val fields: Fields, override val annotations: Annotations) extends ServerBinding with BindingVersion with Key { override protected def bindingVersionField: Field = BindingVersion - override def meta: SolaceServerBindingModel.type = SolaceServerBindingModel - def msgVpn: StrField = fields.field(MsgVpn) def withMsgVpn(msgVpn: String): this.type = set(MsgVpn, msgVpn) - override def componentId: String = s"/$Solace-server" - override def linkCopy(): SolaceServerBinding = SolaceServerBinding().withId(id) - - override protected def classConstructor: (Fields, Annotations) => Linkable with DomainElement = - SolaceServerBinding.apply - override def key: StrField = fields.field(SolaceServerBindingModel.key) } +class SolaceServerBinding010(override val fields: Fields, override val annotations: Annotations) + extends SolaceServerBinding(fields, annotations) { + /** apply method for create a new instance with fields and annotations. Aux method for copy */ + override protected def classConstructor: (Fields, Annotations) => Linkable with DomainElement = SolaceServerBinding010.apply + override def componentId: String = s"/$Solace-server-binding-010" + override def meta: SolaceServerBinding010Model.type = SolaceServerBinding010Model + override def linkCopy(): SolaceServerBinding = SolaceServerBinding010().withId(id) +} +object SolaceServerBinding010 { -object SolaceServerBinding { + def apply(): SolaceServerBinding010 = apply(Annotations()) + + def apply(annotations: Annotations): SolaceServerBinding010 = apply(Fields(), annotations) + + def apply(fields: Fields, annotations: Annotations): SolaceServerBinding010 = + new SolaceServerBinding010(fields, annotations) +} +class SolaceServerBinding040(override val fields: Fields, override val annotations: Annotations) + extends SolaceServerBinding(fields, annotations) { + def clientName: StrField = fields.field(SolaceServerBinding040Model.ClientName) + def withClientName(clientName: String): this.type = set(SolaceServerBinding040Model.ClientName, clientName) + override def meta: SolaceServerBinding040Model.type = SolaceServerBinding040Model + override def componentId: String = s"/$Solace-server-binding-040" + + /** apply method for create a new instance with fields and annotations. Aux method for copy */ + override protected def classConstructor: (Fields, Annotations) => Linkable with DomainElement = SolaceServerBinding040.apply + override def linkCopy(): SolaceServerBinding = SolaceServerBinding040().withId(id) +} +object SolaceServerBinding040 { - def apply(): SolaceServerBinding = apply(Annotations()) + def apply(): SolaceServerBinding040 = apply(Annotations()) - def apply(annotations: Annotations): SolaceServerBinding = apply(Fields(), annotations) + def apply(annotations: Annotations): SolaceServerBinding040 = apply(Fields(), annotations) - def apply(fields: Fields, annotations: Annotations): SolaceServerBinding = - new SolaceServerBinding(fields, annotations) + def apply(fields: Fields, annotations: Annotations): SolaceServerBinding040 = + new SolaceServerBinding040(fields, annotations) } diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/convert/ApiBaseConverter.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/convert/ApiBaseConverter.scala index 5d3843a345..33353d6343 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/convert/ApiBaseConverter.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/convert/ApiBaseConverter.scala @@ -7,13 +7,7 @@ import amf.apicontract.client.scala.model.document.{APIContractProcessingData, C import amf.apicontract.client.scala.model.domain.bindings._ import amf.apicontract.client.scala.model.domain.bindings.amqp._ import amf.apicontract.client.scala.model.domain.bindings.anypointmq._ -import amf.apicontract.client.scala.model.domain.bindings.googlepubsub.{ - GooglePubSubChannelBinding, - GooglePubSubMessageBinding, - GooglePubSubMessageStoragePolicy, - GooglePubSubSchemaDefinition, - GooglePubSubSchemaSettings -} +import amf.apicontract.client.scala.model.domain.bindings.googlepubsub._ import amf.apicontract.client.scala.model.domain.bindings.http._ import amf.apicontract.client.scala.model.domain.bindings.ibmmq._ import amf.apicontract.client.scala.model.domain.bindings.kafka._ @@ -67,7 +61,11 @@ trait ApiBaseConverter with Amqp091OperationBinding030Converter with EmptyBindingConverter with HttpMessageBindingConverter + with HttpMessageBinding020Converter + with HttpMessageBinding030Converter with HttpOperationBindingConverter + with HttpOperationBinding010Converter + with HttpOperationBinding020Converter with KafkaMessageBindingConverter with KafkaMessageBinding010Converter with KafkaMessageBinding030Converter @@ -81,8 +79,14 @@ trait ApiBaseConverter with KafkaTopicConfiguration040Converter with KafkaTopicConfiguration050Converter with MqttMessageBindingConverter + with MqttMessageBinding010Converter + with MqttMessageBinding020Converter with MqttOperationBindingConverter + with MqttOperationBinding010Converter + with MqttOperationBinding020Converter with MqttServerBindingConverter + with MqttServerBinding010Converter + with MqttServerBinding020Converter with WebSocketsChannelBindingConverter with MqttServerLastWillConverter with Amqp091ChannelExchangeConverter @@ -92,9 +96,21 @@ trait ApiBaseConverter with Amqp091Queue010Converter with Amqp091Queue020Converter with SolaceServerBindingConverter + with SolaceServerBinding010Converter + with SolaceServerBinding040Converter with SolaceOperationBindingConverter + with SolaceOperationBinding010Converter + with SolaceOperationBinding020Converter + with SolaceOperationBinding030Converter + with SolaceOperationBinding040Converter with SolaceOperationDestinationConverter + with SolaceOperationDestination010Converter + with SolaceOperationDestination020Converter + with SolaceOperationDestination030Converter + with SolaceOperationDestination040Converter with SolaceOperationQueueConverter + with SolaceOperationQueue010Converter + with SolaceOperationQueue030Converter with SolaceOperationTopicConverter with AnypointMQMessageBindingConverter with AnypointMQChannelBindingConverter @@ -120,8 +136,14 @@ trait ApiBaseConverter with PulsarChannelBindingConverter with PulsarChannelRetentionConverter with GooglePubSubMessageBindingConverter + with GooglePubSubMessageBinding010Converter + with GooglePubSubMessageBinding020Converter with GooglePubSubSchemaDefinitionConverter + with GooglePubSubSchemaDefinition010Converter + with GooglePubSubSchemaDefinition020Converter with GooglePubSubChannelBindingConverter + with GooglePubSubChannelBinding010Converter + with GooglePubSubChannelBinding020Converter with GooglePubSubMessageStoragePolicyConverter with GooglePubSubSchemaSettingsConverter @@ -261,6 +283,22 @@ trait HttpMessageBindingConverter extends PlatformSecrets { override def asInternal(from: domain.bindings.http.HttpMessageBinding): HttpMessageBinding = from._internal } } +trait HttpMessageBinding020Converter extends PlatformSecrets { + implicit object HttpMessageBinding020Matcher + extends BidirectionalMatcher[HttpMessageBinding020, domain.bindings.http.HttpMessageBinding020] { + override def asClient(from: HttpMessageBinding020): domain.bindings.http.HttpMessageBinding020 = + platform.wrap[domain.bindings.http.HttpMessageBinding020](from) + override def asInternal(from: domain.bindings.http.HttpMessageBinding020): HttpMessageBinding020 = from._internal + } +} +trait HttpMessageBinding030Converter extends PlatformSecrets { + implicit object HttpMessageBinding030Matcher + extends BidirectionalMatcher[HttpMessageBinding030, domain.bindings.http.HttpMessageBinding030] { + override def asClient(from: HttpMessageBinding030): domain.bindings.http.HttpMessageBinding030 = + platform.wrap[domain.bindings.http.HttpMessageBinding030](from) + override def asInternal(from: domain.bindings.http.HttpMessageBinding030): HttpMessageBinding030 = from._internal + } +} trait HttpOperationBindingConverter extends PlatformSecrets { implicit object HttpOperationBindingMatcher extends BidirectionalMatcher[HttpOperationBinding, domain.bindings.http.HttpOperationBinding] { @@ -269,6 +307,24 @@ trait HttpOperationBindingConverter extends PlatformSecrets { override def asInternal(from: domain.bindings.http.HttpOperationBinding): HttpOperationBinding = from._internal } } +trait HttpOperationBinding010Converter extends PlatformSecrets { + implicit object HttpOperationBinding010Matcher + extends BidirectionalMatcher[HttpOperationBinding010, domain.bindings.http.HttpOperationBinding010] { + override def asClient(from: HttpOperationBinding010): domain.bindings.http.HttpOperationBinding010 = + platform.wrap[domain.bindings.http.HttpOperationBinding010](from) + override def asInternal(from: domain.bindings.http.HttpOperationBinding010): HttpOperationBinding010 = + from._internal + } +} +trait HttpOperationBinding020Converter extends PlatformSecrets { + implicit object HttpOperationBinding020Matcher + extends BidirectionalMatcher[HttpOperationBinding020, domain.bindings.http.HttpOperationBinding020] { + override def asClient(from: HttpOperationBinding020): domain.bindings.http.HttpOperationBinding020 = + platform.wrap[domain.bindings.http.HttpOperationBinding020](from) + override def asInternal(from: domain.bindings.http.HttpOperationBinding020): HttpOperationBinding020 = + from._internal + } +} trait KafkaMessageBindingConverter extends PlatformSecrets { implicit object KafkaMessageBindingMatcher extends BidirectionalMatcher[KafkaMessageBinding, domain.bindings.kafka.KafkaMessageBinding] { @@ -376,6 +432,22 @@ trait MqttMessageBindingConverter extends PlatformSecrets { override def asInternal(from: domain.bindings.mqtt.MqttMessageBinding): MqttMessageBinding = from._internal } } +trait MqttMessageBinding010Converter extends PlatformSecrets { + implicit object MqttMessageBinding010Matcher + extends BidirectionalMatcher[MqttMessageBinding010, domain.bindings.mqtt.MqttMessageBinding010] { + override def asClient(from: MqttMessageBinding010): domain.bindings.mqtt.MqttMessageBinding010 = + platform.wrap[domain.bindings.mqtt.MqttMessageBinding010](from) + override def asInternal(from: domain.bindings.mqtt.MqttMessageBinding010): MqttMessageBinding010 = from._internal + } +} +trait MqttMessageBinding020Converter extends PlatformSecrets { + implicit object MqttMessageBinding020Matcher + extends BidirectionalMatcher[MqttMessageBinding020, domain.bindings.mqtt.MqttMessageBinding020] { + override def asClient(from: MqttMessageBinding020): domain.bindings.mqtt.MqttMessageBinding020 = + platform.wrap[domain.bindings.mqtt.MqttMessageBinding020](from) + override def asInternal(from: domain.bindings.mqtt.MqttMessageBinding020): MqttMessageBinding020 = from._internal + } +} trait MqttOperationBindingConverter extends PlatformSecrets { implicit object MqttOperationBindingMatcher extends BidirectionalMatcher[MqttOperationBinding, domain.bindings.mqtt.MqttOperationBinding] { @@ -384,6 +456,24 @@ trait MqttOperationBindingConverter extends PlatformSecrets { override def asInternal(from: domain.bindings.mqtt.MqttOperationBinding): MqttOperationBinding = from._internal } } +trait MqttOperationBinding010Converter extends PlatformSecrets { + implicit object MqttOperationBinding010Matcher + extends BidirectionalMatcher[MqttOperationBinding010, domain.bindings.mqtt.MqttOperationBinding010] { + override def asClient(from: MqttOperationBinding010): domain.bindings.mqtt.MqttOperationBinding010 = + platform.wrap[domain.bindings.mqtt.MqttOperationBinding010](from) + override def asInternal(from: domain.bindings.mqtt.MqttOperationBinding010): MqttOperationBinding010 = + from._internal + } +} +trait MqttOperationBinding020Converter extends PlatformSecrets { + implicit object MqttOperationBinding020Matcher + extends BidirectionalMatcher[MqttOperationBinding020, domain.bindings.mqtt.MqttOperationBinding020] { + override def asClient(from: MqttOperationBinding020): domain.bindings.mqtt.MqttOperationBinding020 = + platform.wrap[domain.bindings.mqtt.MqttOperationBinding020](from) + override def asInternal(from: domain.bindings.mqtt.MqttOperationBinding020): MqttOperationBinding020 = + from._internal + } +} trait MqttServerBindingConverter extends PlatformSecrets { implicit object MqttServerBindingMatcher extends BidirectionalMatcher[MqttServerBinding, domain.bindings.mqtt.MqttServerBinding] { @@ -392,6 +482,22 @@ trait MqttServerBindingConverter extends PlatformSecrets { override def asInternal(from: domain.bindings.mqtt.MqttServerBinding): MqttServerBinding = from._internal } } +trait MqttServerBinding010Converter extends PlatformSecrets { + implicit object MqttServerBinding010Matcher + extends BidirectionalMatcher[MqttServerBinding010, domain.bindings.mqtt.MqttServerBinding010] { + override def asClient(from: MqttServerBinding010): domain.bindings.mqtt.MqttServerBinding010 = + platform.wrap[domain.bindings.mqtt.MqttServerBinding010](from) + override def asInternal(from: domain.bindings.mqtt.MqttServerBinding010): MqttServerBinding010 = from._internal + } +} +trait MqttServerBinding020Converter extends PlatformSecrets { + implicit object MqttServerBinding020Matcher + extends BidirectionalMatcher[MqttServerBinding020, domain.bindings.mqtt.MqttServerBinding020] { + override def asClient(from: MqttServerBinding020): domain.bindings.mqtt.MqttServerBinding020 = + platform.wrap[domain.bindings.mqtt.MqttServerBinding020](from) + override def asInternal(from: domain.bindings.mqtt.MqttServerBinding020): MqttServerBinding020 = from._internal + } +} trait WebSocketsChannelBindingConverter extends PlatformSecrets { implicit object WebSocketsChannelBindingMatcher extends BidirectionalMatcher[WebSocketsChannelBinding, domain.bindings.websockets.WebSocketsChannelBinding] { @@ -505,6 +611,24 @@ trait SolaceServerBindingConverter extends PlatformSecrets { from._internal } } +trait SolaceServerBinding010Converter extends PlatformSecrets { + implicit object SolaceServerBinding010Matcher + extends BidirectionalMatcher[SolaceServerBinding010, domain.bindings.solace.SolaceServerBinding010] { + override def asClient(from: SolaceServerBinding010): domain.bindings.solace.SolaceServerBinding010 = + platform.wrap[domain.bindings.solace.SolaceServerBinding010](from) + override def asInternal(from: domain.bindings.solace.SolaceServerBinding010): SolaceServerBinding010 = + from._internal + } +} +trait SolaceServerBinding040Converter extends PlatformSecrets { + implicit object SolaceServerBinding040Matcher + extends BidirectionalMatcher[SolaceServerBinding040, domain.bindings.solace.SolaceServerBinding040] { + override def asClient(from: SolaceServerBinding040): domain.bindings.solace.SolaceServerBinding040 = + platform.wrap[domain.bindings.solace.SolaceServerBinding040](from) + override def asInternal(from: domain.bindings.solace.SolaceServerBinding040): SolaceServerBinding040 = + from._internal + } +} trait SolaceOperationBindingConverter extends PlatformSecrets { implicit object SolaceOperationBindingMatcher @@ -516,6 +640,56 @@ trait SolaceOperationBindingConverter extends PlatformSecrets { } } +trait SolaceOperationBinding010Converter extends PlatformSecrets { + implicit object SolaceOperationBinding010Matcher + extends BidirectionalMatcher[ + SolaceOperationBinding010, + domain.bindings.solace.SolaceOperationBinding010 + ] { + override def asClient(from: SolaceOperationBinding010): domain.bindings.solace.SolaceOperationBinding010 = + platform.wrap[domain.bindings.solace.SolaceOperationBinding010](from) + override def asInternal(from: domain.bindings.solace.SolaceOperationBinding010): SolaceOperationBinding010 = + from._internal + } +} + +trait SolaceOperationBinding020Converter extends PlatformSecrets { + implicit object SolaceOperationBinding020Matcher + extends BidirectionalMatcher[ + SolaceOperationBinding020, + domain.bindings.solace.SolaceOperationBinding020 + ] { + override def asClient(from: SolaceOperationBinding020): domain.bindings.solace.SolaceOperationBinding020 = + platform.wrap[domain.bindings.solace.SolaceOperationBinding020](from) + override def asInternal(from: domain.bindings.solace.SolaceOperationBinding020): SolaceOperationBinding020 = + from._internal + } +} +trait SolaceOperationBinding030Converter extends PlatformSecrets { + implicit object SolaceOperationBinding030Matcher + extends BidirectionalMatcher[ + SolaceOperationBinding030, + domain.bindings.solace.SolaceOperationBinding030 + ] { + override def asClient(from: SolaceOperationBinding030): domain.bindings.solace.SolaceOperationBinding030 = + platform.wrap[domain.bindings.solace.SolaceOperationBinding030](from) + override def asInternal(from: domain.bindings.solace.SolaceOperationBinding030): SolaceOperationBinding030 = + from._internal + } +} +trait SolaceOperationBinding040Converter extends PlatformSecrets { + implicit object SolaceOperationBinding040Matcher + extends BidirectionalMatcher[ + SolaceOperationBinding040, + domain.bindings.solace.SolaceOperationBinding040 + ] { + override def asClient(from: SolaceOperationBinding040): domain.bindings.solace.SolaceOperationBinding040 = + platform.wrap[domain.bindings.solace.SolaceOperationBinding040](from) + override def asInternal(from: domain.bindings.solace.SolaceOperationBinding040): SolaceOperationBinding040 = + from._internal + } +} + trait SolaceOperationDestinationConverter extends PlatformSecrets { implicit object SolaceOperationDestinationMatcher extends BidirectionalMatcher[SolaceOperationDestination, domain.bindings.solace.SolaceOperationDestination] { @@ -525,6 +699,55 @@ trait SolaceOperationDestinationConverter extends PlatformSecrets { from._internal } } +trait SolaceOperationDestination010Converter extends PlatformSecrets { + implicit object SolaceOperationDestination010Matcher + extends BidirectionalMatcher[ + SolaceOperationDestination010, + domain.bindings.solace.SolaceOperationDestination010 + ] { + override def asClient(from: SolaceOperationDestination010): domain.bindings.solace.SolaceOperationDestination010 = + platform.wrap[domain.bindings.solace.SolaceOperationDestination010](from) + override def asInternal(from: domain.bindings.solace.SolaceOperationDestination010): SolaceOperationDestination010 = + from._internal + } +} + +trait SolaceOperationDestination020Converter extends PlatformSecrets { + implicit object SolaceOperationDestination020Matcher + extends BidirectionalMatcher[ + SolaceOperationDestination020, + domain.bindings.solace.SolaceOperationDestination020 + ] { + override def asClient(from: SolaceOperationDestination020): domain.bindings.solace.SolaceOperationDestination020 = + platform.wrap[domain.bindings.solace.SolaceOperationDestination020](from) + override def asInternal(from: domain.bindings.solace.SolaceOperationDestination020): SolaceOperationDestination020 = + from._internal + } +} +trait SolaceOperationDestination030Converter extends PlatformSecrets { + implicit object SolaceOperationDestination030Matcher + extends BidirectionalMatcher[ + SolaceOperationDestination030, + domain.bindings.solace.SolaceOperationDestination030 + ] { + override def asClient(from: SolaceOperationDestination030): domain.bindings.solace.SolaceOperationDestination030 = + platform.wrap[domain.bindings.solace.SolaceOperationDestination030](from) + override def asInternal(from: domain.bindings.solace.SolaceOperationDestination030): SolaceOperationDestination030 = + from._internal + } +} +trait SolaceOperationDestination040Converter extends PlatformSecrets { + implicit object SolaceOperationDestination040Matcher + extends BidirectionalMatcher[ + SolaceOperationDestination040, + domain.bindings.solace.SolaceOperationDestination040 + ] { + override def asClient(from: SolaceOperationDestination040): domain.bindings.solace.SolaceOperationDestination040 = + platform.wrap[domain.bindings.solace.SolaceOperationDestination040](from) + override def asInternal(from: domain.bindings.solace.SolaceOperationDestination040): SolaceOperationDestination040 = + from._internal + } +} trait SolaceOperationQueueConverter extends PlatformSecrets { implicit object SolaceOperationQueueMatcher @@ -536,6 +759,26 @@ trait SolaceOperationQueueConverter extends PlatformSecrets { } } +trait SolaceOperationQueue010Converter extends PlatformSecrets { + implicit object SolaceOperationQueue010Matcher + extends BidirectionalMatcher[SolaceOperationQueue010, domain.bindings.solace.SolaceOperationQueue010] { + override def asClient(from: SolaceOperationQueue010): domain.bindings.solace.SolaceOperationQueue010 = + platform.wrap[domain.bindings.solace.SolaceOperationQueue010](from) + override def asInternal(from: domain.bindings.solace.SolaceOperationQueue010): SolaceOperationQueue010 = + from._internal + } +} + +trait SolaceOperationQueue030Converter extends PlatformSecrets { + implicit object SolaceOperationQueue030Matcher + extends BidirectionalMatcher[SolaceOperationQueue030, domain.bindings.solace.SolaceOperationQueue030] { + override def asClient(from: SolaceOperationQueue030): domain.bindings.solace.SolaceOperationQueue030 = + platform.wrap[domain.bindings.solace.SolaceOperationQueue030](from) + override def asInternal(from: domain.bindings.solace.SolaceOperationQueue030): SolaceOperationQueue030 = + from._internal + } +} + trait SolaceOperationTopicConverter extends PlatformSecrets { implicit object SolaceOperationTopicMatcher extends BidirectionalMatcher[SolaceOperationTopic, domain.bindings.solace.SolaceOperationTopic] { @@ -623,6 +866,38 @@ trait GooglePubSubMessageBindingConverter extends PlatformSecrets { from._internal } } +trait GooglePubSubMessageBinding010Converter extends PlatformSecrets { + implicit object GooglePubSubMessageBinding010Matcher + extends BidirectionalMatcher[ + GooglePubSubMessageBinding010, + domain.bindings.googlepubsub.GooglePubSubMessageBinding010 + ] { + override def asClient( + from: GooglePubSubMessageBinding010 + ): domain.bindings.googlepubsub.GooglePubSubMessageBinding010 = + platform.wrap[domain.bindings.googlepubsub.GooglePubSubMessageBinding010](from) + override def asInternal( + from: domain.bindings.googlepubsub.GooglePubSubMessageBinding010 + ): GooglePubSubMessageBinding010 = + from._internal + } +} +trait GooglePubSubMessageBinding020Converter extends PlatformSecrets { + implicit object GooglePubSubMessageBinding020Matcher + extends BidirectionalMatcher[ + GooglePubSubMessageBinding020, + domain.bindings.googlepubsub.GooglePubSubMessageBinding020 + ] { + override def asClient( + from: GooglePubSubMessageBinding020 + ): domain.bindings.googlepubsub.GooglePubSubMessageBinding020 = + platform.wrap[domain.bindings.googlepubsub.GooglePubSubMessageBinding020](from) + override def asInternal( + from: domain.bindings.googlepubsub.GooglePubSubMessageBinding020 + ): GooglePubSubMessageBinding020 = + from._internal + } +} trait GooglePubSubSchemaDefinitionConverter extends PlatformSecrets { implicit object GooglePubSubSchemaDefinitionMatcher extends BidirectionalMatcher[ @@ -638,6 +913,36 @@ trait GooglePubSubSchemaDefinitionConverter extends PlatformSecrets { ): GooglePubSubSchemaDefinition = from._internal } } +trait GooglePubSubSchemaDefinition010Converter extends PlatformSecrets { + implicit object GooglePubSubSchemaDefinition010Matcher + extends BidirectionalMatcher[ + GooglePubSubSchemaDefinition010, + domain.bindings.googlepubsub.GooglePubSubSchemaDefinition010 + ] { + override def asClient( + from: GooglePubSubSchemaDefinition010 + ): domain.bindings.googlepubsub.GooglePubSubSchemaDefinition010 = + platform.wrap[domain.bindings.googlepubsub.GooglePubSubSchemaDefinition010](from) + override def asInternal( + from: domain.bindings.googlepubsub.GooglePubSubSchemaDefinition010 + ): GooglePubSubSchemaDefinition010 = from._internal + } +} +trait GooglePubSubSchemaDefinition020Converter extends PlatformSecrets { + implicit object GooglePubSubSchemaDefinition020Matcher + extends BidirectionalMatcher[ + GooglePubSubSchemaDefinition020, + domain.bindings.googlepubsub.GooglePubSubSchemaDefinition020 + ] { + override def asClient( + from: GooglePubSubSchemaDefinition020 + ): domain.bindings.googlepubsub.GooglePubSubSchemaDefinition020 = + platform.wrap[domain.bindings.googlepubsub.GooglePubSubSchemaDefinition020](from) + override def asInternal( + from: domain.bindings.googlepubsub.GooglePubSubSchemaDefinition020 + ): GooglePubSubSchemaDefinition020 = from._internal + } +} trait GooglePubSubChannelBindingConverter extends PlatformSecrets { implicit object GooglePubSubChannelBindingMatcher extends BidirectionalMatcher[ @@ -650,6 +955,38 @@ trait GooglePubSubChannelBindingConverter extends PlatformSecrets { from._internal } } +trait GooglePubSubChannelBinding010Converter extends PlatformSecrets { + implicit object GooglePubSubChannelBinding010Matcher + extends BidirectionalMatcher[ + GooglePubSubChannelBinding010, + domain.bindings.googlepubsub.GooglePubSubChannelBinding010 + ] { + override def asClient( + from: GooglePubSubChannelBinding010 + ): domain.bindings.googlepubsub.GooglePubSubChannelBinding010 = + platform.wrap[domain.bindings.googlepubsub.GooglePubSubChannelBinding010](from) + override def asInternal( + from: domain.bindings.googlepubsub.GooglePubSubChannelBinding010 + ): GooglePubSubChannelBinding010 = + from._internal + } +} +trait GooglePubSubChannelBinding020Converter extends PlatformSecrets { + implicit object GooglePubSubChannelBinding020Matcher + extends BidirectionalMatcher[ + GooglePubSubChannelBinding020, + domain.bindings.googlepubsub.GooglePubSubChannelBinding020 + ] { + override def asClient( + from: GooglePubSubChannelBinding020 + ): domain.bindings.googlepubsub.GooglePubSubChannelBinding020 = + platform.wrap[domain.bindings.googlepubsub.GooglePubSubChannelBinding020](from) + override def asInternal( + from: domain.bindings.googlepubsub.GooglePubSubChannelBinding020 + ): GooglePubSubChannelBinding020 = + from._internal + } +} trait GooglePubSubMessageStoragePolicyConverter extends PlatformSecrets { implicit object GooglePubSubMessageStoragePolicyMatcher extends BidirectionalMatcher[ diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/convert/ApiRegister.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/convert/ApiRegister.scala index b45f2817de..974e619c02 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/convert/ApiRegister.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/convert/ApiRegister.scala @@ -258,11 +258,19 @@ private[amf] object ApiRegister extends UniqueInitializer with PlatformSecrets { case s: amf.apicontract.client.scala.model.domain.bindings.amqp.Amqp091OperationBinding030 => Amqp091OperationBinding030(s) } - platform.registerWrapper(HttpMessageBindingModel) { - case s: amf.apicontract.client.scala.model.domain.bindings.http.HttpMessageBinding => HttpMessageBinding(s) + platform.registerWrapper(HttpMessageBinding020Model) { + case s: amf.apicontract.client.scala.model.domain.bindings.http.HttpMessageBinding020 => HttpMessageBinding020(s) } - platform.registerWrapper(HttpOperationBindingModel) { - case s: amf.apicontract.client.scala.model.domain.bindings.http.HttpOperationBinding => HttpOperationBinding(s) + platform.registerWrapper(HttpMessageBinding030Model) { + case s: amf.apicontract.client.scala.model.domain.bindings.http.HttpMessageBinding030 => HttpMessageBinding030(s) + } + platform.registerWrapper(HttpOperationBinding010Model) { + case s: amf.apicontract.client.scala.model.domain.bindings.http.HttpOperationBinding010 => + HttpOperationBinding010(s) + } + platform.registerWrapper(HttpOperationBinding020Model) { + case s: amf.apicontract.client.scala.model.domain.bindings.http.HttpOperationBinding020 => + HttpOperationBinding020(s) } platform.registerWrapper(KafkaMessageBinding010Model) { case s: amf.apicontract.client.scala.model.domain.bindings.kafka.KafkaMessageBinding010 => @@ -298,14 +306,25 @@ private[amf] object ApiRegister extends UniqueInitializer with PlatformSecrets { case s: amf.apicontract.client.scala.model.domain.bindings.kafka.KafkaTopicConfiguration050 => KafkaTopicConfiguration050(s) } - platform.registerWrapper(MqttMessageBindingModel) { - case s: amf.apicontract.client.scala.model.domain.bindings.mqtt.MqttMessageBinding => MqttMessageBinding(s) + platform.registerWrapper(MqttMessageBinding010Model) { + case s: amf.apicontract.client.scala.model.domain.bindings.mqtt.MqttMessageBinding010 => MqttMessageBinding010(s) + } + platform.registerWrapper(MqttMessageBinding020Model) { + case s: amf.apicontract.client.scala.model.domain.bindings.mqtt.MqttMessageBinding020 => MqttMessageBinding020(s) + } + platform.registerWrapper(MqttOperationBinding010Model) { + case s: amf.apicontract.client.scala.model.domain.bindings.mqtt.MqttOperationBinding010 => + MqttOperationBinding010(s) } - platform.registerWrapper(MqttOperationBindingModel) { - case s: amf.apicontract.client.scala.model.domain.bindings.mqtt.MqttOperationBinding => MqttOperationBinding(s) + platform.registerWrapper(MqttOperationBinding020Model) { + case s: amf.apicontract.client.scala.model.domain.bindings.mqtt.MqttOperationBinding020 => + MqttOperationBinding020(s) } - platform.registerWrapper(MqttServerBindingModel) { - case s: amf.apicontract.client.scala.model.domain.bindings.mqtt.MqttServerBinding => MqttServerBinding(s) + platform.registerWrapper(MqttServerBinding010Model) { + case s: amf.apicontract.client.scala.model.domain.bindings.mqtt.MqttServerBinding010 => MqttServerBinding010(s) + } + platform.registerWrapper(MqttServerBinding020Model) { + case s: amf.apicontract.client.scala.model.domain.bindings.mqtt.MqttServerBinding020 => MqttServerBinding020(s) } platform.registerWrapper(MqttServerLastWillModel) { case s: amf.apicontract.client.scala.model.domain.bindings.mqtt.MqttServerLastWill => MqttServerLastWill(s) @@ -317,21 +336,53 @@ private[amf] object ApiRegister extends UniqueInitializer with PlatformSecrets { platform.registerWrapper(EmptyBindingModel) { case s: amf.apicontract.client.scala.model.domain.bindings.EmptyBinding => EmptyBinding(s) } - platform.registerWrapper(SolaceServerBindingModel) { - case s: amf.apicontract.client.scala.model.domain.bindings.solace.SolaceServerBinding => - SolaceServerBinding(s) + platform.registerWrapper(SolaceServerBinding010Model) { + case s: amf.apicontract.client.scala.model.domain.bindings.solace.SolaceServerBinding010 => + SolaceServerBinding010(s) + } + platform.registerWrapper(SolaceServerBinding040Model) { + case s: amf.apicontract.client.scala.model.domain.bindings.solace.SolaceServerBinding040 => + SolaceServerBinding040(s) + } + platform.registerWrapper(SolaceOperationBinding010Model) { + case s: amf.apicontract.client.scala.model.domain.bindings.solace.SolaceOperationBinding010 => + SolaceOperationBinding010(s) + } + platform.registerWrapper(SolaceOperationBinding020Model) { + case s: amf.apicontract.client.scala.model.domain.bindings.solace.SolaceOperationBinding020 => + SolaceOperationBinding020(s) } - platform.registerWrapper(SolaceOperationBindingModel) { - case s: amf.apicontract.client.scala.model.domain.bindings.solace.SolaceOperationBinding => - SolaceOperationBinding(s) + platform.registerWrapper(SolaceOperationBinding030Model) { + case s: amf.apicontract.client.scala.model.domain.bindings.solace.SolaceOperationBinding030 => + SolaceOperationBinding030(s) } - platform.registerWrapper(SolaceOperationDestinationModel) { - case s: amf.apicontract.client.scala.model.domain.bindings.solace.SolaceOperationDestination => - SolaceOperationDestination(s) + platform.registerWrapper(SolaceOperationBinding040Model) { + case s: amf.apicontract.client.scala.model.domain.bindings.solace.SolaceOperationBinding040 => + SolaceOperationBinding040(s) } - platform.registerWrapper(SolaceOperationQueueModel) { - case s: amf.apicontract.client.scala.model.domain.bindings.solace.SolaceOperationQueue => - SolaceOperationQueue(s) + platform.registerWrapper(SolaceOperationDestination010Model) { + case s: amf.apicontract.client.scala.model.domain.bindings.solace.SolaceOperationDestination010 => + SolaceOperationDestination010(s) + } + platform.registerWrapper(SolaceOperationDestination020Model) { + case s: amf.apicontract.client.scala.model.domain.bindings.solace.SolaceOperationDestination020 => + SolaceOperationDestination020(s) + } + platform.registerWrapper(SolaceOperationDestination030Model) { + case s: amf.apicontract.client.scala.model.domain.bindings.solace.SolaceOperationDestination030 => + SolaceOperationDestination030(s) + } + platform.registerWrapper(SolaceOperationDestination040Model) { + case s: amf.apicontract.client.scala.model.domain.bindings.solace.SolaceOperationDestination040 => + SolaceOperationDestination040(s) + } + platform.registerWrapper(SolaceOperationQueue010Model) { + case s: amf.apicontract.client.scala.model.domain.bindings.solace.SolaceOperationQueue010 => + SolaceOperationQueue010(s) + } + platform.registerWrapper(SolaceOperationQueue030Model) { + case s: amf.apicontract.client.scala.model.domain.bindings.solace.SolaceOperationQueue030 => + SolaceOperationQueue030(s) } platform.registerWrapper(SolaceOperationTopicModel) { case s: amf.apicontract.client.scala.model.domain.bindings.solace.SolaceOperationTopic => @@ -360,9 +411,13 @@ private[amf] object ApiRegister extends UniqueInitializer with PlatformSecrets { platform.registerWrapper(IBMMQChannelTopicModel) { case s: amf.apicontract.client.scala.model.domain.bindings.ibmmq.IBMMQChannelTopic => IBMMQChannelTopic(s) } - platform.registerWrapper(GooglePubSubChannelBindingModel) { - case s: amf.apicontract.client.scala.model.domain.bindings.googlepubsub.GooglePubSubChannelBinding => - GooglePubSubChannelBinding(s) + platform.registerWrapper(GooglePubSubChannelBinding010Model) { + case s: amf.apicontract.client.scala.model.domain.bindings.googlepubsub.GooglePubSubChannelBinding010 => + GooglePubSubChannelBinding010(s) + } + platform.registerWrapper(GooglePubSubChannelBinding020Model) { + case s: amf.apicontract.client.scala.model.domain.bindings.googlepubsub.GooglePubSubChannelBinding020 => + GooglePubSubChannelBinding020(s) } platform.registerWrapper(GooglePubSubMessageStoragePolicyModel) { case s: amf.apicontract.client.scala.model.domain.bindings.googlepubsub.GooglePubSubMessageStoragePolicy => @@ -372,13 +427,21 @@ private[amf] object ApiRegister extends UniqueInitializer with PlatformSecrets { case s: amf.apicontract.client.scala.model.domain.bindings.googlepubsub.GooglePubSubSchemaSettings => GooglePubSubSchemaSettings(s) } - platform.registerWrapper(GooglePubSubMessageBindingModel) { - case s: amf.apicontract.client.scala.model.domain.bindings.googlepubsub.GooglePubSubMessageBinding => - GooglePubSubMessageBinding(s) + platform.registerWrapper(GooglePubSubMessageBinding010Model) { + case s: amf.apicontract.client.scala.model.domain.bindings.googlepubsub.GooglePubSubMessageBinding010 => + GooglePubSubMessageBinding010(s) + } + platform.registerWrapper(GooglePubSubMessageBinding020Model) { + case s: amf.apicontract.client.scala.model.domain.bindings.googlepubsub.GooglePubSubMessageBinding020 => + GooglePubSubMessageBinding020(s) + } + platform.registerWrapper(GooglePubSubSchemaDefinition010Model) { + case s: amf.apicontract.client.scala.model.domain.bindings.googlepubsub.GooglePubSubSchemaDefinition010 => + GooglePubSubSchemaDefinition010(s) } - platform.registerWrapper(GooglePubSubSchemaDefinitionModel) { - case s: amf.apicontract.client.scala.model.domain.bindings.googlepubsub.GooglePubSubSchemaDefinition => - GooglePubSubSchemaDefinition(s) + platform.registerWrapper(GooglePubSubSchemaDefinition020Model) { + case s: amf.apicontract.client.scala.model.domain.bindings.googlepubsub.GooglePubSubSchemaDefinition020 => + GooglePubSubSchemaDefinition020(s) } platform.registerWrapper(APIContractProcessingDataModel) { case s: amf.apicontract.client.scala.model.document.APIContractProcessingData => APIContractProcessingData(s) diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/entities/APIEntities.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/entities/APIEntities.scala index 1ed0d9c11e..c85c79438b 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/entities/APIEntities.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/entities/APIEntities.scala @@ -76,7 +76,11 @@ private[amf] object APIEntities extends Entities { ChannelBindingModel, EmptyBindingModel, HttpOperationBindingModel, + HttpOperationBinding010Model, + HttpOperationBinding020Model, HttpMessageBindingModel, + HttpMessageBinding020Model, + HttpMessageBinding030Model, KafkaOperationBindingModel, KafkaMessageBindingModel, KafkaMessageBinding010Model, @@ -91,9 +95,15 @@ private[amf] object APIEntities extends Entities { KafkaTopicConfiguration050Model, MessageBindingModel, MqttServerBindingModel, + MqttServerBinding010Model, + MqttServerBinding020Model, MqttServerLastWillModel, MqttOperationBindingModel, + MqttOperationBinding010Model, + MqttOperationBinding020Model, MqttMessageBindingModel, + MqttMessageBinding010Model, + MqttMessageBinding020Model, ServerBindingModel, WebSocketsChannelBindingModel, DiscriminatorValueMappingModel, @@ -121,17 +131,35 @@ private[amf] object APIEntities extends Entities { AnypointMQMessageBindingModel, AnypointMQChannelBindingModel, SolaceServerBindingModel, + SolaceServerBinding010Model, + SolaceServerBinding040Model, SolaceOperationBindingModel, SolaceOperationDestinationModel, + SolaceOperationBinding010Model, + SolaceOperationBinding020Model, + SolaceOperationBinding030Model, + SolaceOperationBinding040Model, + SolaceOperationDestination010Model, + SolaceOperationDestination020Model, + SolaceOperationDestination030Model, + SolaceOperationDestination040Model, SolaceOperationQueueModel, + SolaceOperationQueue010Model, + SolaceOperationQueue030Model, SolaceOperationTopicModel, PulsarServerBindingModel, PulsarChannelBindingModel, PulsarChannelRetentionModel, GooglePubSubMessageBindingModel, + GooglePubSubMessageBinding010Model, + GooglePubSubMessageBinding020Model, GooglePubSubChannelBindingModel, + GooglePubSubChannelBinding010Model, + GooglePubSubChannelBinding020Model, GooglePubSubMessageStoragePolicyModel, GooglePubSubSchemaSettingsModel, - GooglePubSubSchemaDefinitionModel + GooglePubSubSchemaDefinitionModel, + GooglePubSubSchemaDefinition010Model, + GooglePubSubSchemaDefinition020Model ) } diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/metamodel/domain/bindings/GooglePubSubBindingModel.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/metamodel/domain/bindings/GooglePubSubBindingModel.scala index f0943f0ea9..db5fd4a364 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/metamodel/domain/bindings/GooglePubSubBindingModel.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/metamodel/domain/bindings/GooglePubSubBindingModel.scala @@ -1,15 +1,18 @@ package amf.apicontract.internal.metamodel.domain.bindings -import amf.apicontract.client.scala.model.domain.bindings.googlepubsub.{GooglePubSubChannelBinding, GooglePubSubMessageBinding, GooglePubSubMessageStoragePolicy, GooglePubSubSchemaDefinition, GooglePubSubSchemaSettings} -import amf.apicontract.internal.metamodel.domain.bindings.GooglePubSubChannelBindingModel.Type +import amf.apicontract.client.scala.model.domain.bindings.googlepubsub._ import amf.core.client.scala.model.domain.AmfObject import amf.core.client.scala.vocabulary.Namespace.ApiBinding import amf.core.client.scala.vocabulary.ValueType import amf.core.internal.metamodel.Field import amf.core.internal.metamodel.Type.{Array, Str} import amf.core.internal.metamodel.domain._ +import amf.core.internal.metamodel.domain.common.NameFieldSchema -object GooglePubSubMessageBindingModel extends MessageBindingModel with BindingVersion { +trait GooglePubSubMessageBindingModel extends MessageBindingModel with BindingVersion { + override val key: Field = Type + override val `type`: List[ValueType] = ApiBinding + "GooglePubSubMessageBinding" :: MessageBindingModel.`type` + override val doc: ModelDoc = ModelDoc(ModelVocabularies.ApiBinding, "GooglePubSubMessageBinding") val Attributes: Field = Field( @@ -40,17 +43,52 @@ object GooglePubSubMessageBindingModel extends MessageBindingModel with BindingV ) ) - override def modelInstance: AmfObject = GooglePubSubMessageBinding() + override def fields: List[Field] = List(Attributes, OrderingKey, Schema, BindingVersion) ++ MessageBindingModel.fields +} + +object GooglePubSubMessageBindingModel extends GooglePubSubMessageBindingModel { + override def modelInstance: AmfObject = throw new Exception("GooglePubSubMessageBindingModel is an abstract class") +} + +object GooglePubSubMessageBinding010Model extends GooglePubSubMessageBindingModel { + override def modelInstance: AmfObject = GooglePubSubMessageBinding010() + override val `type`: List[ValueType] = ApiBinding + "GooglePubSubMessageBinding010" :: MessageBindingModel.`type` + override val doc: ModelDoc = ModelDoc(ModelVocabularies.ApiBinding, "GooglePubSubMessageBinding010") + + override val Schema: Field = + Field( + GooglePubSubSchemaDefinition010Model, + ApiBinding + "schemaDefinition", + ModelDoc( + ModelVocabularies.ApiBinding, + "schema", + "Define Schema" + ) + ) override def fields: List[Field] = List(Attributes, OrderingKey, Schema, BindingVersion) ++ MessageBindingModel.fields +} - override val `type`: List[ValueType] = ApiBinding + "GooglePubSubMessageBinding" :: MessageBindingModel.`type` +object GooglePubSubMessageBinding020Model extends GooglePubSubMessageBindingModel { + override def modelInstance: AmfObject = GooglePubSubMessageBinding020() + override val `type`: List[ValueType] = ApiBinding + "GooglePubSubMessageBinding020" :: MessageBindingModel.`type` + override val doc: ModelDoc = ModelDoc(ModelVocabularies.ApiBinding, "GooglePubSubMessageBinding020") - override val key: Field = Type + override val Schema: Field = + Field( + GooglePubSubSchemaDefinition020Model, + ApiBinding + "schemaDefinition", + ModelDoc( + ModelVocabularies.ApiBinding, + "schema", + "Define Schema" + ) + ) - override val doc: ModelDoc = ModelDoc(ModelVocabularies.ApiBinding, "GooglePubSubMessageBinding") + override def fields: List[Field] = List(Attributes, OrderingKey, Schema, BindingVersion) ++ MessageBindingModel.fields } -object GooglePubSubChannelBindingModel extends ChannelBindingModel with BindingVersion { + +trait GooglePubSubChannelBindingModel extends ChannelBindingModel with BindingVersion { val Labels: Field = Field( ObjectNodeModel, @@ -91,21 +129,11 @@ object GooglePubSubChannelBindingModel extends ChannelBindingModel with BindingV ) ) - val Topic: Field = - Field( - Str, - ApiBinding + "topic", - ModelDoc(ModelVocabularies.ApiBinding, "topic", "The Google Cloud Pub/Sub Topic name") - ) - - override def modelInstance: AmfObject = GooglePubSubChannelBinding() - override def fields: List[Field] = List( Labels, MessageRetentionDuration, MessageStoragePolicy, SchemaSettings, - Topic, BindingVersion ) ++ ChannelBindingModel.fields @@ -115,7 +143,36 @@ object GooglePubSubChannelBindingModel extends ChannelBindingModel with BindingV override val doc: ModelDoc = ModelDoc(ModelVocabularies.ApiBinding, "GooglePubSubChannelBinding") } + +object GooglePubSubChannelBindingModel extends GooglePubSubChannelBindingModel { + override def modelInstance: AmfObject = throw new Exception("GooglePubSubChannelBindingModel is an abstract class") +} + +object GooglePubSubChannelBinding010Model extends GooglePubSubChannelBindingModel { + override def modelInstance: AmfObject = GooglePubSubChannelBinding010() + override val `type`: List[ValueType] = ApiBinding + "GooglePubSubChannelBinding010" :: ChannelBindingModel.`type` + override val doc: ModelDoc = ModelDoc(ModelVocabularies.ApiBinding, "GooglePubSubChannelBinding010") + + val Topic: Field = + Field( + Str, + ApiBinding + "topic", + ModelDoc(ModelVocabularies.ApiBinding, "topic", "The Google Cloud Pub/Sub Topic name") + ) + + override def fields: List[Field] = List(Topic) ++ GooglePubSubChannelBindingModel.fields +} + +object GooglePubSubChannelBinding020Model extends GooglePubSubChannelBindingModel { + override def modelInstance: AmfObject = GooglePubSubChannelBinding020() + override val `type`: List[ValueType] = ApiBinding + "GooglePubSubChannelBinding020" :: ChannelBindingModel.`type` + override val doc: ModelDoc = ModelDoc(ModelVocabularies.ApiBinding, "GooglePubSubChannelBinding020") +} + object GooglePubSubMessageStoragePolicyModel extends DomainElementModel { + def modelInstance: AmfObject = GooglePubSubMessageStoragePolicy() + val `type`: List[ValueType] = ApiBinding + "GooglePubSubMessageStoragePolicy" :: DomainElementModel.`type` + override val doc: ModelDoc = ModelDoc(ModelVocabularies.ApiBinding, "GooglePubSubMessageStoragePolicy") val AllowedPersistenceRegions: Field = Field( @@ -127,18 +184,14 @@ object GooglePubSubMessageStoragePolicyModel extends DomainElementModel { "A list of IDs of GCP regions where messages that are published to the topic may be persisted in storage" ) ) - def modelInstance: AmfObject = GooglePubSubMessageStoragePolicy() def fields: List[Field] = List(AllowedPersistenceRegions) ++ DomainElementModel.fields - - val `type`: List[ValueType] = ApiBinding + "GooglePubSubMessageStoragePolicy" :: DomainElementModel.`type` - - val key: Field = Type - - override val doc: ModelDoc = ModelDoc(ModelVocabularies.ApiBinding, "GooglePubSubMessageStoragePolicy") - } -object GooglePubSubSchemaSettingsModel extends DomainElementModel { + +object GooglePubSubSchemaSettingsModel extends DomainElementModel with NameFieldSchema { + def modelInstance: AmfObject = GooglePubSubSchemaSettings() + val `type`: List[ValueType] = ApiBinding + "GooglePubSubSchemaSettings" :: DomainElementModel.`type` + override val doc: ModelDoc = ModelDoc(ModelVocabularies.ApiBinding, "GooglePubSubSchemaSettings") val Encoding: Field = Field( @@ -169,35 +222,23 @@ object GooglePubSubSchemaSettingsModel extends DomainElementModel { ) ) - val Name: Field = - Field( - Str, - ApiBinding + "name", - ModelDoc( - ModelVocabularies.ApiBinding, - "name", - "Name of the schema that messages published should be validated against" - ) - ) - - def modelInstance: AmfObject = GooglePubSubSchemaSettings() - - def fields: List[Field] = List(Encoding, FirstRevisionId, LastRevisionId, Name) ++ DomainElementModel.fields - - val `type`: List[ValueType] = ApiBinding + "GooglePubSubSchemaSettings" :: DomainElementModel.`type` - - val key: Field = Type + def fields: List[Field] = List(Name, Encoding, FirstRevisionId, LastRevisionId) ++ DomainElementModel.fields +} - override val doc: ModelDoc = ModelDoc(ModelVocabularies.ApiBinding, "GooglePubSubSchemaSettings") +trait GooglePubSubSchemaDefinitionModel extends DomainElementModel with NameFieldSchema { + val `type`: List[ValueType] = ApiBinding + "GooglePubSubSchemaDefinition" :: DomainElementModel.`type` + override val doc: ModelDoc = ModelDoc(ModelVocabularies.ApiBinding, "GooglePubSubSchemaDefinition") + def fields: List[Field] = List(Name) ++ DomainElementModel.fields +} +object GooglePubSubSchemaDefinitionModel extends GooglePubSubSchemaDefinitionModel { + override def modelInstance: AmfObject = throw new Exception("GooglePubSubSchemaDefinitionModel is an abstract class") } -object GooglePubSubSchemaDefinitionModel extends DomainElementModel { - val Name: Field = - Field( - Str, - ApiBinding + "name", - ModelDoc(ModelVocabularies.ApiBinding, "name", "The name of the schema") - ) + +object GooglePubSubSchemaDefinition010Model extends GooglePubSubSchemaDefinitionModel { + def modelInstance: AmfObject = GooglePubSubSchemaDefinition010() + override val `type`: List[ValueType] = ApiBinding + "GooglePubSubSchemaDefinition010" :: DomainElementModel.`type` + override val doc: ModelDoc = ModelDoc(ModelVocabularies.ApiBinding, "GooglePubSubSchemaDefinition010") val FieldType: Field = Field( @@ -206,14 +247,11 @@ object GooglePubSubSchemaDefinitionModel extends DomainElementModel { ModelDoc(ModelVocabularies.ApiBinding, "type", "The type of the schema") ) - def modelInstance: AmfObject = GooglePubSubSchemaDefinition() - - def fields: List[Field] = List(Name, FieldType) ++ DomainElementModel.fields - - val `type`: List[ValueType] = ApiBinding + "GooglePubSubSchemaDefinition" :: DomainElementModel.`type` - - val key: Field = Type - - override val doc: ModelDoc = ModelDoc(ModelVocabularies.ApiBinding, "GooglePubSubSchemaDefinition") + override def fields: List[Field] = FieldType +: GooglePubSubSchemaDefinitionModel.fields +} +object GooglePubSubSchemaDefinition020Model extends GooglePubSubSchemaDefinitionModel { + def modelInstance: AmfObject = GooglePubSubSchemaDefinition020() + override val `type`: List[ValueType] = ApiBinding + "GooglePubSubSchemaDefinition020" :: DomainElementModel.`type` + override val doc: ModelDoc = ModelDoc(ModelVocabularies.ApiBinding, "GooglePubSubSchemaDefinition020") } diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/metamodel/domain/bindings/HttpBindingModel.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/metamodel/domain/bindings/HttpBindingModel.scala index 12479eb21e..014a07388b 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/metamodel/domain/bindings/HttpBindingModel.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/metamodel/domain/bindings/HttpBindingModel.scala @@ -1,49 +1,79 @@ package amf.apicontract.internal.metamodel.domain.bindings -import amf.apicontract.client.scala.model.domain.bindings.http.{HttpMessageBinding, HttpOperationBinding} +import amf.apicontract.client.scala.model.domain.bindings.http.{ + HttpMessageBinding020, + HttpMessageBinding030, + HttpOperationBinding010, + HttpOperationBinding020 +} import amf.core.client.scala.model.domain.AmfObject import amf.core.client.scala.vocabulary.Namespace.ApiBinding 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.{Str, Int} import amf.core.internal.metamodel.domain.{ModelDoc, ModelVocabularies} -object HttpOperationBindingModel extends OperationBindingModel with BindingVersion with BindingQuery { - - val OperationType = - Field(Str, ApiBinding + "operationType", ModelDoc(ModelVocabularies.ApiBinding, "type", "Type of operation")) +trait HttpOperationBindingModel extends OperationBindingModel with BindingVersion with BindingQuery { + override val `type`: List[ValueType] = ApiBinding + "HttpOperationBinding" :: OperationBindingModel.`type` + override val key: Field = Type + override val doc: ModelDoc = ModelDoc(ModelVocabularies.ApiBinding, "HttpOperationBinding") - val Method = + val Method: Field = Field(Str, ApiBinding + "method", ModelDoc(ModelVocabularies.ApiBinding, "method", "Operation binding method")) - override def modelInstance: AmfObject = HttpOperationBinding() + override def fields: List[Field] = List(Method, Query, BindingVersion) ++ OperationBindingModel.fields +} - override def fields: List[Field] = List(OperationType, Method, Query, BindingVersion) ++ OperationBindingModel.fields +object HttpOperationBindingModel extends HttpOperationBindingModel { + override def modelInstance: AmfObject = throw new Exception("HttpOperationBindingModel is an abstract class") +} - override val `type`: List[ValueType] = ApiBinding + "HttpOperationBinding" :: OperationBindingModel.`type` +object HttpOperationBinding010Model extends HttpOperationBindingModel { + override val `type`: List[ValueType] = ApiBinding + "HttpOperationBinding010" :: OperationBindingModel.`type` + override val doc: ModelDoc = ModelDoc(ModelVocabularies.ApiBinding, "HttpOperationBinding010") + + val OperationType: Field = + Field(Str, ApiBinding + "operationType", ModelDoc(ModelVocabularies.ApiBinding, "type", "Type of operation")) - override val key: Field = Type + override def fields: List[Field] = List(OperationType, Method, Query, BindingVersion) ++ OperationBindingModel.fields - override val doc: ModelDoc = ModelDoc( - ModelVocabularies.ApiBinding, - "HttpOperationBinding", - "" - ) + override def modelInstance: AmfObject = HttpOperationBinding010() } -object HttpMessageBindingModel extends MessageBindingModel with BindingVersion with BindingHeaders { +object HttpOperationBinding020Model extends HttpOperationBindingModel { + override val `type`: List[ValueType] = ApiBinding + "HttpOperationBinding020" :: OperationBindingModel.`type` + override val doc: ModelDoc = ModelDoc(ModelVocabularies.ApiBinding, "HttpOperationBinding020") + override def modelInstance: AmfObject = HttpOperationBinding020() +} - override def modelInstance: AmfObject = HttpMessageBinding() +trait HttpMessageBindingModel extends MessageBindingModel with BindingVersion with BindingHeaders { + override val key: Field = Type + override val doc: ModelDoc = ModelDoc(ModelVocabularies.ApiBinding, "HttpMessageBinding") + override val `type`: List[ValueType] = ApiBinding + "HttpMessageBinding" :: MessageBindingModel.`type` + override def fields: List[Field] = List(Headers, BindingVersion) ++ MessageBindingModel.fields +} - override def fields: List[Field] = List(Headers, BindingVersion) ++ MessageBindingModel.fields +object HttpMessageBindingModel extends HttpMessageBindingModel { + override def modelInstance: AmfObject = throw new Exception("HttpMessageBindingModel is an abstract class") +} - override val `type`: List[ValueType] = ApiBinding + "HttpMessageBinding" :: MessageBindingModel.`type` +object HttpMessageBinding020Model extends HttpMessageBindingModel { + override val doc: ModelDoc = ModelDoc(ModelVocabularies.ApiBinding, "HttpMessageBinding020") + override val `type`: List[ValueType] = ApiBinding + "HttpMessageBinding020" :: MessageBindingModel.`type` + override def modelInstance: AmfObject = HttpMessageBinding020() +} + +object HttpMessageBinding030Model extends HttpMessageBindingModel { + override val doc: ModelDoc = ModelDoc(ModelVocabularies.ApiBinding, "HttpMessageBinding030") + override val `type`: List[ValueType] = ApiBinding + "HttpMessageBinding030" :: MessageBindingModel.`type` + override def modelInstance: AmfObject = HttpMessageBinding030() - override val key: Field = Type + val StatusCode: Field = + Field( + Int, + ApiBinding + "statusCode", + ModelDoc(ModelVocabularies.ApiBinding, "statusCode", "The HTTP response status code according to RFC 9110.") + ) - override val doc: ModelDoc = ModelDoc( - ModelVocabularies.ApiBinding, - "HttpMessageBinding", - "" - ) + override def fields: List[Field] = StatusCode +: HttpMessageBindingModel.fields } diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/metamodel/domain/bindings/IBMMQBindingModel.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/metamodel/domain/bindings/IBMMQBindingModel.scala index 67964ded82..36a4e91921 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/metamodel/domain/bindings/IBMMQBindingModel.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/metamodel/domain/bindings/IBMMQBindingModel.scala @@ -232,7 +232,7 @@ object IBMMQChannelQueueModel extends DomainElementModel with NameFieldSchema { ModelDoc(ModelVocabularies.ApiBinding, "exclusive", "Specifies if it is recommended to open the queue exclusively.") ) - override def fields: List[Field] = List(ObjectName, IsPartitioned, Exclusive) ++ DomainElementModel.fields + override def fields: List[Field] = List(Name, ObjectName, IsPartitioned, Exclusive) ++ DomainElementModel.fields override val `type`: List[ValueType] = ApiBinding + "IBMMQChannelQueue" :: DomainElementModel.`type` @@ -280,7 +280,7 @@ object IBMMQChannelTopicModel extends DomainElementModel with NameFieldSchema { ) override def fields: List[Field] = - List(String, ObjectName, DurablePermitted, LastMsgRetained) ++ DomainElementModel.fields + List(Name, String, ObjectName, DurablePermitted, LastMsgRetained) ++ DomainElementModel.fields override val `type`: List[ValueType] = ApiBinding + "IBMMQChannelTopic" :: DomainElementModel.`type` diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/metamodel/domain/bindings/MqttBindingModel.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/metamodel/domain/bindings/MqttBindingModel.scala index 70bf9cba82..6229c88706 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/metamodel/domain/bindings/MqttBindingModel.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/metamodel/domain/bindings/MqttBindingModel.scala @@ -2,8 +2,12 @@ package amf.apicontract.internal.metamodel.domain.bindings import amf.apicontract.client.scala.model.domain.bindings.mqtt.{ MqttMessageBinding, - MqttOperationBinding, - MqttServerBinding, + MqttMessageBinding010, + MqttMessageBinding020, + MqttOperationBinding010, + MqttOperationBinding020, + MqttServerBinding010, + MqttServerBinding020, MqttServerLastWill } import amf.core.client.scala.model.domain.AmfObject @@ -11,26 +15,30 @@ import amf.core.client.scala.vocabulary.Namespace.ApiBinding import amf.core.client.scala.vocabulary.ValueType import amf.core.internal.metamodel.Field import amf.core.internal.metamodel.Type.{Bool, Int, Str} -import amf.core.internal.metamodel.domain.{DomainElementModel, ModelDoc, ModelVocabularies} +import amf.core.internal.metamodel.domain.{DomainElementModel, ModelDoc, ModelVocabularies, ShapeModel} -object MqttServerBindingModel extends ServerBindingModel with BindingVersion { - val ClientId = +trait MqttServerBindingModel extends ServerBindingModel with BindingVersion { + override val `type`: List[ValueType] = ApiBinding + "MqttServerBinding" :: ServerBindingModel.`type` + override val key: Field = Type + override val doc: ModelDoc = ModelDoc(ModelVocabularies.ApiBinding, "MqttServerBinding") + + val ClientId: Field = Field(Str, ApiBinding + "clientId", ModelDoc(ModelVocabularies.ApiBinding, "clientId", "The client identifier")) - val CleanSession = + val CleanSession: Field = Field( Bool, ApiBinding + "cleanSession", ModelDoc(ModelVocabularies.ApiBinding, "cleanSession", "Whether to create a persistent connection or not") ) - val LastWill = Field( + val LastWill: Field = Field( MqttServerLastWillModel, ApiBinding + "lastWill", ModelDoc(ModelVocabularies.ApiBinding, "lastWill", "Last Will and Testament configuration") ) - val KeepAlive = Field( + val KeepAlive: Field = Field( Int, ApiBinding + "keepAlive", ModelDoc( @@ -40,24 +48,79 @@ object MqttServerBindingModel extends ServerBindingModel with BindingVersion { ) ) - override def modelInstance: AmfObject = MqttServerBinding() - override def fields: List[Field] = List(ClientId, CleanSession, LastWill, KeepAlive, BindingVersion) ++ ServerBindingModel.fields +} - override val `type`: List[ValueType] = ApiBinding + "MqttServerBinding" :: ServerBindingModel.`type` +object MqttServerBindingModel extends MqttServerBindingModel { + override def modelInstance: AmfObject = throw new Exception("MqttServerBindingModel is an abstract class") +} - override val key: Field = Type +object MqttServerBinding010Model extends MqttServerBindingModel { + override val `type`: List[ValueType] = ApiBinding + "MqttServerBinding010" :: ServerBindingModel.`type` + override val doc: ModelDoc = ModelDoc(ModelVocabularies.ApiBinding, "MqttServerBinding010") + override def modelInstance: AmfObject = MqttServerBinding010() +} + +object MqttServerBinding020Model extends MqttServerBindingModel { + override val `type`: List[ValueType] = ApiBinding + "MqttServerBinding020" :: ServerBindingModel.`type` + override val doc: ModelDoc = ModelDoc(ModelVocabularies.ApiBinding, "MqttServerBinding020") + override def modelInstance: AmfObject = MqttServerBinding020() + + val SessionExpiryInterval: Field = Field( + Int, + ApiBinding + "sessionExpiryInterval", + ModelDoc( + ModelVocabularies.ApiBinding, + "sessionExpiryInterval", + "Interval in seconds or a Schema Object containing the definition of the interval. The broker maintains a session for a disconnected client until this interval expires." + ) + ) + + val SessionExpiryIntervalSchema: Field = Field( + ShapeModel, + ApiBinding + "sessionExpiryIntervalSchema", + ModelDoc( + ModelVocabularies.ApiBinding, + "sessionExpiryIntervalSchema", + "Interval in seconds or a Schema Object containing the definition of the interval. The broker maintains a session for a disconnected client until this interval expires." + ) + ) + + val MaximumPacketSize: Field = Field( + Int, + ApiBinding + "maximumPacketSize", + ModelDoc( + ModelVocabularies.ApiBinding, + "maximumPacketSize", + "Number of bytes or a Schema Object representing the maximum packet size the client is willing to accept." + ) + ) - override val doc: ModelDoc = ModelDoc( - ModelVocabularies.ApiBinding, - "MqttServerBinding", - "" + val MaximumPacketSizeSchema: Field = Field( + ShapeModel, + ApiBinding + "maximumPacketSizeSchema", + ModelDoc( + ModelVocabularies.ApiBinding, + "maximumPacketSizeSchema", + "Number of bytes or a Schema Object representing the maximum packet size the client is willing to accept." + ) ) + + override def fields: List[Field] = List( + SessionExpiryInterval, + SessionExpiryIntervalSchema, + MaximumPacketSize, + MaximumPacketSizeSchema + ) ++ MqttServerBindingModel.fields } object MqttServerLastWillModel extends DomainElementModel { - val Topic = + override val `type`: List[ValueType] = ApiBinding + "MqttServerLastWill" :: DomainElementModel.`type` + override val doc: ModelDoc = ModelDoc(ModelVocabularies.ApiBinding, "MqttServerLastWill") + override def modelInstance: AmfObject = MqttServerLastWill() + + val Topic: Field = Field( Str, ApiBinding + "topic", @@ -68,7 +131,7 @@ object MqttServerLastWillModel extends DomainElementModel { ) ) - val Qos = Field( + val Qos: Field = Field( Int, ApiBinding + "qos", ModelDoc( @@ -78,7 +141,7 @@ object MqttServerLastWillModel extends DomainElementModel { ) ) - val Retain = Field( + val Retain: Field = Field( Bool, ApiBinding + "retain", ModelDoc( @@ -88,7 +151,7 @@ object MqttServerLastWillModel extends DomainElementModel { ) ) - val Message = Field( + val Message: Field = Field( Str, ApiBinding + "message", ModelDoc( @@ -99,20 +162,13 @@ object MqttServerLastWillModel extends DomainElementModel { ) override def fields: List[Field] = List(Topic, Qos, Retain, Message) ++ DomainElementModel.fields - - override val `type`: List[ValueType] = ApiBinding + "MqttServerLastWill" :: DomainElementModel.`type` - - override def modelInstance: AmfObject = MqttServerLastWill() - - override val doc: ModelDoc = ModelDoc( - ModelVocabularies.ApiBinding, - "MqttServerLastWill", - "" - ) } -object MqttOperationBindingModel extends OperationBindingModel with BindingVersion { - val Qos = +trait MqttOperationBindingModel extends OperationBindingModel with BindingVersion { + override val `type`: List[ValueType] = ApiBinding + "MqttOperationBinding" :: OperationBindingModel.`type` + override val doc: ModelDoc = ModelDoc(ModelVocabularies.ApiBinding, "MqttOperationBinding") + + val Qos: Field = Field( Int, ApiBinding + "qos", @@ -123,7 +179,7 @@ object MqttOperationBindingModel extends OperationBindingModel with BindingVersi ) ) - val Retain = + val Retain: Field = Field( Bool, ApiBinding + "retain", @@ -132,31 +188,126 @@ object MqttOperationBindingModel extends OperationBindingModel with BindingVersi override val key: Field = Type - override def modelInstance: AmfObject = MqttOperationBinding() - override def fields: List[Field] = List(Qos, Retain, BindingVersion) ++ OperationBindingModel.fields +} - override val `type`: List[ValueType] = ApiBinding + "MqttOperationBinding" :: OperationBindingModel.`type` +object MqttOperationBindingModel extends MqttOperationBindingModel { + override def modelInstance: AmfObject = throw new Exception("MqttOperationBinding is an abstract class") +} - override val doc: ModelDoc = ModelDoc( - ModelVocabularies.ApiBinding, - "MqttOperationBinding", - "" - ) +object MqttOperationBinding010Model extends MqttOperationBindingModel { + override def modelInstance: AmfObject = MqttOperationBinding010() + override val `type`: List[ValueType] = ApiBinding + "MqttOperationBinding010" :: OperationBindingModel.`type` + override val doc: ModelDoc = ModelDoc(ModelVocabularies.ApiBinding, "MqttOperationBinding010") } -object MqttMessageBindingModel extends MessageBindingModel with BindingVersion { - override def modelInstance: AmfObject = MqttMessageBinding() +object MqttOperationBinding020Model extends MqttOperationBindingModel { + override def modelInstance: AmfObject = MqttOperationBinding020() + override val `type`: List[ValueType] = ApiBinding + "MqttOperationBinding020" :: OperationBindingModel.`type` + override val doc: ModelDoc = ModelDoc(ModelVocabularies.ApiBinding, "MqttOperationBinding020") - override def fields: List[Field] = List(BindingVersion) ++ MessageBindingModel.fields + val MessageExpiryInterval: Field = + Field( + Int, + ApiBinding + "messageExpiryInterval", + ModelDoc( + ModelVocabularies.ApiBinding, + "messageExpiryInterval", + "Interval in seconds or a Schema Object containing the definition of the lifetime of the message." + ) + ) - override val key: Field = Type + val MessageExpiryIntervalSchema: Field = + Field( + ShapeModel, + ApiBinding + "messageExpiryIntervalSchema", + ModelDoc( + ModelVocabularies.ApiBinding, + "messageExpiryIntervalSchema", + "Interval in seconds or a Schema Object containing the definition of the lifetime of the message." + ) + ) + override def fields: List[Field] = MessageExpiryInterval +: MqttOperationBindingModel.fields +} + +trait MqttMessageBindingModel extends MessageBindingModel with BindingVersion { + override val key: Field = Type override val `type`: List[ValueType] = ApiBinding + "MqttMessageBinding" :: MessageBindingModel.`type` + override val doc: ModelDoc = ModelDoc(ModelVocabularies.ApiBinding, "MqttMessageBinding") + override def fields: List[Field] = BindingVersion +: MessageBindingModel.fields +} - override val doc: ModelDoc = ModelDoc( - ModelVocabularies.ApiBinding, - "MqttMessageBinding", - "" - ) +object MqttMessageBindingModel extends MqttMessageBindingModel { + override def modelInstance: AmfObject = throw new Exception("MqttMessageBinding is an abstract class") +} + +object MqttMessageBinding010Model extends MqttMessageBindingModel { + override val `type`: List[ValueType] = ApiBinding + "MqttMessageBinding010" :: MessageBindingModel.`type` + override val doc: ModelDoc = ModelDoc(ModelVocabularies.ApiBinding, "MqttMessageBinding010") + override def modelInstance: AmfObject = MqttMessageBinding010() +} + +object MqttMessageBinding020Model extends MqttMessageBindingModel { + override val `type`: List[ValueType] = ApiBinding + "MqttMessageBinding020" :: MessageBindingModel.`type` + override val doc: ModelDoc = ModelDoc(ModelVocabularies.ApiBinding, "MqttMessageBinding020") + override def modelInstance: AmfObject = MqttMessageBinding020() + + val PayloadFormatIndicator: Field = + Field( + Int, + ApiBinding + "payloadFormatIndicator", + ModelDoc( + ModelVocabularies.ApiBinding, + "payloadFormatIndicator", + "Either: 0 (zero): Indicates that the payload is unspecified bytes, or 1: Indicates that the payload is UTF-8 encoded character data." + ) + ) + + val CorrelationData: Field = + Field( + ShapeModel, + ApiBinding + "correlationData", + ModelDoc( + ModelVocabularies.ApiBinding, + "correlationData", + "Correlation Data is used by the sender of the request message to identify which request the response message is for when it is received." + ) + ) + + val ContentType: Field = + Field( + Str, + ApiBinding + "contentType", + ModelDoc( + ModelVocabularies.ApiBinding, + "contentType", + "String describing the content type of the message payload. This should not conflict with the contentType field of the associated AsyncAPI Message object." + ) + ) + + val ResponseTopic: Field = + Field( + Str, + ApiBinding + "responseTopic", + ModelDoc( + ModelVocabularies.ApiBinding, + "responseTopic", + "The topic (channel URI) for a response message." + ) + ) + + val ResponseTopicSchema: Field = + Field( + ShapeModel, + ApiBinding + "responseTopicSchema", + ModelDoc( + ModelVocabularies.ApiBinding, + "responseTopicSchema", + "The topic (channel URI) for a response message." + ) + ) + + override def fields: List[Field] = + List(PayloadFormatIndicator, CorrelationData, ContentType, ResponseTopic) ++ MqttMessageBindingModel.fields } diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/metamodel/domain/bindings/SolaceBindingModel.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/metamodel/domain/bindings/SolaceBindingModel.scala index 962bb31f05..18c73fa591 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/metamodel/domain/bindings/SolaceBindingModel.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/metamodel/domain/bindings/SolaceBindingModel.scala @@ -1,21 +1,30 @@ package amf.apicontract.internal.metamodel.domain.bindings import amf.apicontract.client.scala.model.domain.bindings.solace.{ - SolaceOperationBinding, - SolaceOperationDestination, - SolaceOperationQueue, + SolaceOperationBinding010, + SolaceOperationBinding020, + SolaceOperationBinding030, + SolaceOperationBinding040, + SolaceOperationDestination010, + SolaceOperationDestination020, + SolaceOperationDestination030, + SolaceOperationDestination040, + SolaceOperationQueue010, + SolaceOperationQueue030, SolaceOperationTopic, - SolaceServerBinding + SolaceServerBinding010, + SolaceServerBinding040 } import amf.core.client.scala.model.domain.AmfObject import amf.core.client.scala.vocabulary.Namespace.ApiBinding import amf.core.client.scala.vocabulary.ValueType -import amf.core.internal.metamodel.Field -import amf.core.internal.metamodel.Type.{Array, Str} +import amf.core.internal.metamodel._ +import amf.core.internal.metamodel.Type.{Array, Bool, Int, Str} import amf.core.internal.metamodel.domain.{DomainElementModel, ModelDoc, ModelVocabularies} import amf.core.internal.metamodel.domain.common.NameFieldSchema -object SolaceServerBindingModel extends ServerBindingModel with BindingVersion { +//Server Binding +trait SolaceServerBindingModel extends ServerBindingModel with BindingVersion { val MsgVpn: Field = Field( Str, @@ -23,8 +32,6 @@ object SolaceServerBindingModel extends ServerBindingModel with BindingVersion { ModelDoc(ModelVocabularies.ApiBinding, "msgVpn", "The Virtual Private Network name on the Solace broker.") ) - override def modelInstance: AmfObject = SolaceServerBinding() - override def fields: List[Field] = List(MsgVpn, BindingVersion) ++ ServerBindingModel.fields override val `type`: List[ValueType] = ApiBinding + "SolaceServerBinding" :: ServerBindingModel.`type` @@ -34,7 +41,37 @@ object SolaceServerBindingModel extends ServerBindingModel with BindingVersion { override val doc: ModelDoc = ModelDoc(ModelVocabularies.ApiBinding, "SolaceServerBinding") } -object SolaceOperationBindingModel extends OperationBindingModel with BindingVersion { +object SolaceServerBindingModel extends SolaceServerBindingModel { + override def modelInstance: AmfObject = throw new Exception("SolaceServerBindingModel is an abstract class") +} +object SolaceServerBinding010Model extends SolaceServerBindingModel { + override def modelInstance: AmfObject = SolaceServerBinding010() + + override val `type`: List[ValueType] = + ApiBinding + "SolaceServerBinding010" :: SolaceServerBindingModel.`type` + + override val doc: ModelDoc = ModelDoc(ModelVocabularies.ApiBinding, "SolaceServerBinding010") +} +object SolaceServerBinding040Model extends SolaceServerBindingModel { + val ClientName: Field = Field( + Str, + ApiBinding + "clientName", + ModelDoc( + ModelVocabularies.ApiBinding, + "clientName", + "A unique client name to use to register to the appliance. If specified, it must be a valid Topic name, and a maximum of 160 bytes in length when encoded as UTF-8." + ) + ) + override def modelInstance: AmfObject = SolaceServerBinding040() + override def fields: List[Field] = List(MsgVpn, BindingVersion, ClientName) ++ ServerBindingModel.fields + + override val `type`: List[ValueType] = ApiBinding + "SolaceServerBinding040" :: ServerBindingModel.`type` + override val doc: ModelDoc = ModelDoc(ModelVocabularies.ApiBinding, "SolaceServerBinding040") + override val key: Field = Type +} + +//Operation Binding +trait SolaceOperationBindingModel extends OperationBindingModel with BindingVersion { val Destinations: Field = Field( Array(SolaceOperationDestinationModel), @@ -45,8 +82,6 @@ object SolaceOperationBindingModel extends OperationBindingModel with BindingVer ) ) - override def modelInstance: AmfObject = SolaceOperationBinding() - override def fields: List[Field] = List(Destinations, BindingVersion) ++ OperationBindingModel.fields override val `type`: List[ValueType] = ApiBinding + "SolaceOperationBinding" :: OperationBindingModel.`type` @@ -55,8 +90,115 @@ object SolaceOperationBindingModel extends OperationBindingModel with BindingVer override val doc: ModelDoc = ModelDoc(ModelVocabularies.ApiBinding, "SolaceOperationBinding") } +object SolaceOperationBindingModel extends SolaceOperationBindingModel { + override def modelInstance: AmfObject = throw new Exception("SolaceOperationModel is an abstract class") + +} +object SolaceOperationBinding010Model extends SolaceOperationBindingModel { + override val Destinations: Field = + Field( + Array(SolaceOperationDestination010Model), + ApiBinding + "destinations", + ModelDoc( + ModelVocabularies.ApiBinding, + "destinations" + ) + ) + override def modelInstance: AmfObject = SolaceOperationBinding010() + override def fields: List[Field] = List(Destinations, BindingVersion) ++ OperationBindingModel.fields + + override val `type`: List[ValueType] = ApiBinding + "SolaceOperationBinding010" :: OperationBindingModel.`type` + + override val doc: ModelDoc = ModelDoc(ModelVocabularies.ApiBinding, "SolaceOperationBinding010") +} +object SolaceOperationBinding020Model extends SolaceOperationBindingModel { + override val Destinations: Field = + Field( + Array(SolaceOperationDestination020Model), + ApiBinding + "destinations", + ModelDoc( + ModelVocabularies.ApiBinding, + "destinations" + ) + ) + override def modelInstance: AmfObject = SolaceOperationBinding020() + override def fields: List[Field] = List(Destinations, BindingVersion) ++ OperationBindingModel.fields + + override val `type`: List[ValueType] = ApiBinding + "SolaceOperationBinding020" :: OperationBindingModel.`type` -object SolaceOperationDestinationModel extends DomainElementModel { + override val doc: ModelDoc = ModelDoc(ModelVocabularies.ApiBinding, "SolaceOperationBinding020") +} +object SolaceOperationBinding030Model extends SolaceOperationBindingModel { + override val Destinations: Field = + Field( + Array(SolaceOperationDestination030Model), + ApiBinding + "destinations", + ModelDoc( + ModelVocabularies.ApiBinding, + "destinations" + ) + ) + override def modelInstance: AmfObject = SolaceOperationBinding030() + override def fields: List[Field] = List(Destinations, BindingVersion) ++ OperationBindingModel.fields + + override val `type`: List[ValueType] = ApiBinding + "SolaceOperationBinding030" :: OperationBindingModel.`type` + + override val doc: ModelDoc = ModelDoc(ModelVocabularies.ApiBinding, "SolaceOperationBinding030") +} +object SolaceOperationBinding040Model extends SolaceOperationBindingModel { + val TimeToLive: Field = Field( + Int, + ApiBinding + "timeToLive", + ModelDoc( + ModelVocabularies.ApiBinding, + "timeToLive", + "Interval in milliseconds or a Schema Object containing the definition of the lifetime of the message." + ) + ) + + val Priority: Field = Field( + Int, + ApiBinding + "priority", + ModelDoc( + ModelVocabularies.ApiBinding, + "priority", + "The valid priority value range is 0-255 with 0 as the lowest priority and 255 as the highest or a Schema Object containing the definition of the priority." + ) + ) + + val DmqEligible: Field = Field( + Bool, + ApiBinding + "dmqEligible", + ModelDoc( + ModelVocabularies.ApiBinding, + "dmqEligible", + "Set the message to be eligible to be moved to a Dead Message Queue. The default value is false." + ) + ) + + override val Destinations: Field = + Field( + Array(SolaceOperationDestination040Model), + ApiBinding + "destinations", + ModelDoc( + ModelVocabularies.ApiBinding, + "destinations" + ) + ) + + override def modelInstance: AmfObject = SolaceOperationBinding040() + override def fields: List[Field] = + List(Destinations, BindingVersion, TimeToLive, Priority, DmqEligible) ++ OperationBindingModel.fields + + override val `type`: List[ValueType] = ApiBinding + "SolaceOperationBinding040" :: OperationBindingModel.`type` + + override val key: Field = Type + + override val doc: ModelDoc = ModelDoc(ModelVocabularies.ApiBinding, "SolaceOperationBinding040") +} + +// Operation Destination +trait SolaceOperationDestinationModel extends DomainElementModel { val DestinationType: Field = Field( Str, @@ -89,6 +231,35 @@ object SolaceOperationDestinationModel extends DomainElementModel { ) ) + override def fields: List[Field] = List(DestinationType, DeliveryMode, Queue) ++ DomainElementModel.fields + + override val `type`: List[ValueType] = ApiBinding + "SolaceOperationDestination" :: DomainElementModel.`type` + + override val doc: ModelDoc = ModelDoc(ModelVocabularies.ApiBinding, "SolaceOperationDestination") +} +object SolaceOperationDestinationModel extends SolaceOperationDestinationModel { + override def modelInstance: AmfObject = throw new Exception("SolaceOperationDestinationModel is an abstract class") +} +object SolaceOperationDestination010Model extends SolaceOperationDestinationModel { + override val Queue: Field = + Field( + SolaceOperationQueue010Model, + ApiBinding + "queue", + ModelDoc( + ModelVocabularies.ApiBinding, + "queue", + "Defines the properties of a queue." + ) + ) + override def modelInstance: AmfObject = SolaceOperationDestination010() + override def fields: List[Field] = List(DestinationType, DeliveryMode, Queue) ++ DomainElementModel.fields + + override val `type`: List[ValueType] = + ApiBinding + "SolaceOperationDestination010" :: SolaceOperationDestinationModel.`type` + + override val doc: ModelDoc = ModelDoc(ModelVocabularies.ApiBinding, "SolaceOperationDestination010") +} +object SolaceOperationDestination020Model extends SolaceOperationDestinationModel { val Topic: Field = Field( SolaceOperationTopicModel, @@ -99,17 +270,93 @@ object SolaceOperationDestinationModel extends DomainElementModel { "Defines the properties of a topic." ) ) + override val Queue: Field = + Field( + SolaceOperationQueue010Model, + ApiBinding + "queue", + ModelDoc( + ModelVocabularies.ApiBinding, + "queue", + "Defines the properties of a queue." + ) + ) + override def fields: List[Field] = List(DestinationType, DeliveryMode, Queue, Topic) ++ DomainElementModel.fields + override def modelInstance: AmfObject = SolaceOperationDestination020() - override def fields: List[Field] = List(DestinationType, DeliveryMode, Queue, Topic) ++ DomainElementModel.fields + override val `type`: List[ValueType] = + ApiBinding + "SolaceOperationDestination020" :: SolaceOperationDestinationModel.`type` - override val `type`: List[ValueType] = ApiBinding + "SolaceOperationDestination" :: DomainElementModel.`type` + override val doc: ModelDoc = ModelDoc(ModelVocabularies.ApiBinding, "SolaceOperationDestination020") - override def modelInstance: AmfObject = SolaceOperationDestination() +} +object SolaceOperationDestination030Model extends SolaceOperationDestinationModel { + override val Queue: Field = + Field( + SolaceOperationQueue030Model, + ApiBinding + "queue", + ModelDoc( + ModelVocabularies.ApiBinding, + "queue", + "Defines the properties of a queue." + ) + ) + val Topic: Field = + Field( + SolaceOperationTopicModel, + ApiBinding + "topic", + ModelDoc( + ModelVocabularies.ApiBinding, + "topic", + "Defines the properties of a topic." + ) + ) + override def fields: List[Field] = List(DestinationType, DeliveryMode, Queue, Topic) ++ DomainElementModel.fields + override def modelInstance: AmfObject = SolaceOperationDestination030() - override val doc: ModelDoc = ModelDoc(ModelVocabularies.ApiBinding, "SolaceOperationDestination") + override val `type`: List[ValueType] = + ApiBinding + "SolaceOperationDestination030" :: SolaceOperationDestinationModel.`type` + + override val doc: ModelDoc = ModelDoc(ModelVocabularies.ApiBinding, "SolaceOperationDestination030") +} +object SolaceOperationDestination040Model extends SolaceOperationDestinationModel { + val BindingVersion: Field = Field( + Str, + ApiBinding + "bindingVersion", + ModelDoc(ModelVocabularies.ApiBinding, "bindingVersion", "The binding version.") + ) + override val Queue: Field = + Field( + SolaceOperationQueue030Model, + ApiBinding + "queue", + ModelDoc( + ModelVocabularies.ApiBinding, + "queue", + "Defines the properties of a queue." + ) + ) + val Topic: Field = + Field( + SolaceOperationTopicModel, + ApiBinding + "topic", + ModelDoc( + ModelVocabularies.ApiBinding, + "topic", + "Defines the properties of a topic." + ) + ) + + override def modelInstance: AmfObject = SolaceOperationDestination040() + override def fields: List[Field] = + List(DestinationType, DeliveryMode, Queue, BindingVersion, Topic) ++ DomainElementModel.fields + + override val `type`: List[ValueType] = + ApiBinding + "SolaceOperationDestination040" :: SolaceOperationDestinationModel.`type` + + override val doc: ModelDoc = ModelDoc(ModelVocabularies.ApiBinding, "SolaceOperationDestination040") } -object SolaceOperationQueueModel extends DomainElementModel with NameFieldSchema { +//Operation Queue +trait SolaceOperationQueueModel extends DomainElementModel with NameFieldSchema { val TopicSubscriptions: Field = Field( Array(Str), @@ -131,13 +378,35 @@ object SolaceOperationQueueModel extends DomainElementModel with NameFieldSchema ) ) + override def fields: List[Field] = + List(TopicSubscriptions, AccessType) ++ DomainElementModel.fields + + override val `type`: List[ValueType] = ApiBinding + "SolaceOperationQueue" :: DomainElementModel.`type` + + override val doc: ModelDoc = ModelDoc(ModelVocabularies.ApiBinding, "SolaceOperationQueue") +} +object SolaceOperationQueueModel extends SolaceOperationQueueModel { + override def modelInstance: AmfObject = throw new Exception("SolaceOperationQueueModel is an abstract class") +} + +object SolaceOperationQueue010Model extends SolaceOperationQueueModel { + override def modelInstance: AmfObject = SolaceOperationQueue010() + + override val `type`: List[ValueType] = + ApiBinding + "SolaceOperationQueue010" :: SolaceOperationQueueModel.`type` + + override val doc: ModelDoc = ModelDoc(ModelVocabularies.ApiBinding, "SolaceOperationQueue010") +} + +object SolaceOperationQueue030Model extends SolaceOperationQueueModel { + val MaxMsgSpoolSize: Field = Field( Str, ApiBinding + "maxMsgSpoolSize", ModelDoc( ModelVocabularies.ApiBinding, "maxMsgSpoolSize", - "The maximum amount of message spool that the given queue may use. Only applicable when destinationType is 'queue'." + "The maximum size of the message spool used by the queue." ) ) @@ -147,20 +416,19 @@ object SolaceOperationQueueModel extends DomainElementModel with NameFieldSchema ModelDoc( ModelVocabularies.ApiBinding, "maxTtl", - "The maximum TTL to apply to messages to be spooled. Only applicable when destinationType is 'queue'." + "The maximum time-to-live for messages in the queue." ) ) + override def modelInstance: AmfObject = SolaceOperationQueue030() - override def fields: List[Field] = - List(TopicSubscriptions, AccessType, MaxMsgSpoolSize, MaxTtl) ++ DomainElementModel.fields - - override val `type`: List[ValueType] = ApiBinding + "SolaceOperationQueue" :: DomainElementModel.`type` + override val `type`: List[ValueType] = + ApiBinding + "SolaceOperationQueue030" :: SolaceOperationDestinationModel.`type` - override def modelInstance: AmfObject = SolaceOperationQueue() - - override val doc: ModelDoc = ModelDoc(ModelVocabularies.ApiBinding, "SolaceOperationQueue") + override val doc: ModelDoc = ModelDoc(ModelVocabularies.ApiBinding, "SolaceOperationQueue030") + override def fields: List[Field] = List(MaxMsgSpoolSize, MaxTtl) ++ DomainElementModel.fields } +//Operation Topic object SolaceOperationTopicModel extends DomainElementModel { val TopicSubscriptions: Field = Field( diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/emitters/bindings/AsyncApiChannelBindingsEmitter.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/emitters/bindings/AsyncApiChannelBindingsEmitter.scala index 7b34af66c8..6d49b18337 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/emitters/bindings/AsyncApiChannelBindingsEmitter.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/emitters/bindings/AsyncApiChannelBindingsEmitter.scala @@ -289,7 +289,7 @@ class GooglePubSubChannelBindingEmitter(binding: GooglePubSubChannelBinding, ord ) fs.entry(GooglePubSubChannelBindingModel.MessageRetentionDuration) .foreach(f => result += ValueEmitter("messageRetentionDuration", f)) - fs.entry(GooglePubSubChannelBindingModel.Topic).foreach(f => result += ValueEmitter("topic", f)) + fs.entry(GooglePubSubChannelBinding010Model.Topic).foreach(f => result += ValueEmitter("topic", f)) Option(binding.messageStoragePolicy).foreach(policy => result += new GooglePubSubStoragePolicyEmitter(policy, ordering) ) diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/emitters/bindings/AsyncApiMessageBindingsEmitter.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/emitters/bindings/AsyncApiMessageBindingsEmitter.scala index 8445e2502d..70bf094398 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/emitters/bindings/AsyncApiMessageBindingsEmitter.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/emitters/bindings/AsyncApiMessageBindingsEmitter.scala @@ -5,6 +5,8 @@ import amf.apicontract.client.scala.model.domain.bindings.amqp.Amqp091MessageBin import amf.apicontract.client.scala.model.domain.bindings.anypointmq.AnypointMQMessageBinding import amf.apicontract.client.scala.model.domain.bindings.googlepubsub.{ GooglePubSubMessageBinding, + GooglePubSubMessageBinding010, + GooglePubSubMessageBinding020, GooglePubSubSchemaDefinition } import amf.apicontract.client.scala.model.domain.bindings.http.HttpMessageBinding @@ -15,11 +17,14 @@ import amf.apicontract.internal.metamodel.domain.bindings.{ Amqp091MessageBindingModel, AnypointMQMessageBindingModel, GooglePubSubMessageBindingModel, + GooglePubSubSchemaDefinition010Model, GooglePubSubSchemaDefinitionModel, + HttpMessageBinding030Model, HttpMessageBindingModel, IBMMQMessageBindingModel, KafkaMessageBinding030Model, - KafkaMessageBindingModel + KafkaMessageBindingModel, + MqttMessageBinding020Model } import amf.apicontract.internal.spec.async.emitters.domain import amf.apicontract.internal.spec.async.parser.bindings.Bindings.{ @@ -79,6 +84,8 @@ class HttpMessageEmitter(binding: HttpMessageBinding, ordering: SpecOrdering)(im fs.entry(HttpMessageBindingModel.Headers) .foreach(f => result += domain.AsyncSchemaEmitter("headers", f.element.asInstanceOf[Shape], ordering, Seq())) + fs.entry(HttpMessageBinding030Model.StatusCode).foreach(f => result += ValueEmitter("statusCode", f)) + emitBindingVersion(fs, result) traverse(ordering.sorted(result), emitter) @@ -126,6 +133,20 @@ class MqttMessageEmitter(binding: MqttMessageBinding, ordering: SpecOrdering)(im _.obj { emitter => val result = ListBuffer[EntryEmitter]() val fs = binding.fields + + fs.entry(MqttMessageBinding020Model.PayloadFormatIndicator) + .foreach(f => result += ValueEmitter("payloadFormatIndicator", f)) + fs.entry(MqttMessageBinding020Model.CorrelationData) + .foreach(f => + result += domain.AsyncSchemaEmitter("correlationData", f.element.asInstanceOf[Shape], ordering, Seq()) + ) + fs.entry(MqttMessageBinding020Model.ContentType).foreach(f => result += ValueEmitter("contentType", f)) + fs.entry(MqttMessageBinding020Model.ResponseTopic).foreach(f => result += ValueEmitter("responseTopic", f)) + fs.entry(MqttMessageBinding020Model.ResponseTopicSchema) + .foreach(f => + result += domain.AsyncSchemaEmitter("responseTopic", f.element.asInstanceOf[Shape], ordering, Seq()) + ) + emitBindingVersion(fs, result) traverse(ordering.sorted(result), emitter) } @@ -224,11 +245,17 @@ class GooglePubSubMessageBindingEmitter(binding: GooglePubSubMessageBinding, ord ) ) fs.entry(GooglePubSubMessageBindingModel.OrderingKey).foreach(f => result += ValueEmitter("orderingKey", f)) - Option(binding.schema).foreach(schema => result += new GooglePubSubSchemaDefinitionEmitter(schema, ordering)) + binding match { + case default: GooglePubSubMessageBinding010 => + Option(default.schema).foreach(schema => + result += new GooglePubSubSchemaDefinitionEmitter(schema, ordering) + ) + case latest: GooglePubSubMessageBinding020 => + Option(latest.schema).foreach(schema => result += new GooglePubSubSchemaDefinitionEmitter(schema, ordering)) + } emitBindingVersion(fs, result) traverse(ordering.sorted(result), emitter) - } ) } @@ -244,7 +271,7 @@ class GooglePubSubSchemaDefinitionEmitter(binding: GooglePubSubSchemaDefinition, val fs = binding.fields fs.entry(GooglePubSubSchemaDefinitionModel.Name).foreach(f => result += ValueEmitter("name", f)) - fs.entry(GooglePubSubSchemaDefinitionModel.FieldType).foreach(f => result += ValueEmitter("type", f)) + fs.entry(GooglePubSubSchemaDefinition010Model.FieldType).foreach(f => result += ValueEmitter("type", f)) traverse(ordering.sorted(result), emitter) } diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/emitters/bindings/AsyncApiOperationBindingsEmitter.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/emitters/bindings/AsyncApiOperationBindingsEmitter.scala index a1cdaf232b..70f4375ecb 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/emitters/bindings/AsyncApiOperationBindingsEmitter.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/emitters/bindings/AsyncApiOperationBindingsEmitter.scala @@ -5,34 +5,18 @@ import amf.apicontract.client.scala.model.domain.bindings.amqp.Amqp091OperationB import amf.apicontract.client.scala.model.domain.bindings.http.HttpOperationBinding import amf.apicontract.client.scala.model.domain.bindings.kafka.KafkaOperationBinding import amf.apicontract.client.scala.model.domain.bindings.mqtt.MqttOperationBinding -import amf.apicontract.client.scala.model.domain.bindings.solace.{ - SolaceOperationBinding, - SolaceOperationDestination, - SolaceOperationQueue, - SolaceOperationTopic -} -import amf.apicontract.internal.metamodel.domain.bindings.{ - Amqp091OperationBinding010Model, - Amqp091OperationBinding030Model, - Amqp091OperationBindingModel, - HttpOperationBindingModel, - KafkaOperationBindingModel, - MqttOperationBindingModel, - SolaceOperationBindingModel, - SolaceOperationQueueModel, - SolaceOperationTopicModel -} +import amf.apicontract.client.scala.model.domain.bindings.solace._ +import amf.apicontract.internal.metamodel.domain.bindings._ import amf.apicontract.internal.spec.async.emitters.domain import amf.apicontract.internal.spec.async.emitters.domain.AsyncApiDestinationsEmitter import amf.apicontract.internal.spec.async.parser.bindings.Bindings.Solace import amf.apicontract.internal.spec.oas.emitter.context.OasLikeSpecEmitterContext -import org.mulesoft.common.client.lexical.Position import amf.core.client.scala.model.domain.Shape import amf.core.internal.render.BaseEmitters.{ValueEmitter, pos, traverse} import amf.core.internal.render.SpecOrdering import amf.core.internal.render.emitters.EntryEmitter -import org.yaml.model.YDocument.EntryBuilder -import org.yaml.model.{YDocument, YMap, YNode} +import org.mulesoft.common.client.lexical.Position +import org.yaml.model.{YDocument, YNode} import scala.collection.mutable.ListBuffer @@ -66,7 +50,7 @@ class HttpOperationBindingEmitter(binding: HttpOperationBinding, ordering: SpecO val fs = binding.fields val result = ListBuffer[EntryEmitter]() - fs.entry(HttpOperationBindingModel.OperationType).foreach(f => result += ValueEmitter("type", f)) + fs.entry(HttpOperationBinding010Model.OperationType).foreach(f => result += ValueEmitter("type", f)) fs.entry(HttpOperationBindingModel.Method).foreach(f => result += ValueEmitter("method", f)) fs.entry(HttpOperationBindingModel.Query) .foreach(f => result += domain.AsyncSchemaEmitter("query", f.element.asInstanceOf[Shape], ordering, Seq())) @@ -116,6 +100,12 @@ class MqttOperationBindingEmitter(binding: MqttOperationBinding, ordering: SpecO fs.entry(MqttOperationBindingModel.Qos).foreach(f => result += ValueEmitter("qos", f)) fs.entry(MqttOperationBindingModel.Retain).foreach(f => result += ValueEmitter("retain", f)) + fs.entry(MqttOperationBinding020Model.MessageExpiryInterval) + .foreach(f => result += ValueEmitter("messageExpiryInterval", f)) + fs.entry(MqttOperationBinding020Model.MessageExpiryIntervalSchema) + .foreach(f => + result += domain.AsyncSchemaEmitter("messageExpiryInterval", f.element.asInstanceOf[Shape], ordering, Seq()) + ) emitBindingVersion(fs, result) traverse(ordering.sorted(result), emitter) @@ -169,6 +159,13 @@ class SolaceOperationBindingEmitter(binding: SolaceOperationBinding, ordering: S fs.entry(SolaceOperationBindingModel.Destinations) .foreach(f => result += AsyncApiDestinationsEmitter(f, ordering)) + binding match { + case binding040: SolaceOperationBinding040 => + fs.entry(SolaceOperationBinding040Model.TimeToLive).foreach(f => result += ValueEmitter("timeToLive", f)) + fs.entry(SolaceOperationBinding040Model.Priority).foreach(f => result += ValueEmitter("priority", f)) + fs.entry(SolaceOperationBinding040Model.DmqEligible).foreach(f => result += ValueEmitter("dmqEligible", f)) + case _ => + } emitBindingVersion(fs, result) diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/emitters/bindings/AsyncApiServerBindingsEmitter.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/emitters/bindings/AsyncApiServerBindingsEmitter.scala index 9b26065293..c699da0a3e 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/emitters/bindings/AsyncApiServerBindingsEmitter.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/emitters/bindings/AsyncApiServerBindingsEmitter.scala @@ -4,22 +4,17 @@ import org.mulesoft.common.client.lexical.Position import amf.core.internal.render.BaseEmitters.{ValueEmitter, pos, traverse} import amf.core.internal.render.SpecOrdering import amf.core.internal.render.emitters.EntryEmitter -import amf.apicontract.internal.metamodel.domain.bindings.{ - IBMMQServerBindingModel, - KafkaServerBindingModel, - MqttServerBindingModel, - MqttServerLastWillModel, - PulsarServerBindingModel, - SolaceServerBindingModel -} +import amf.apicontract.internal.metamodel.domain.bindings.{IBMMQServerBindingModel, KafkaServerBindingModel,MqttServerBinding020Model, MqttServerBindingModel, MqttServerLastWillModel, PulsarServerBindingModel, SolaceServerBinding040Model, SolaceServerBindingModel} import amf.apicontract.client.scala.model.domain.bindings.ServerBinding import amf.apicontract.client.scala.model.domain.bindings.ibmmq.IBMMQServerBinding import amf.apicontract.client.scala.model.domain.bindings.kafka.KafkaServerBinding import amf.apicontract.client.scala.model.domain.bindings.mqtt.{MqttServerBinding, MqttServerLastWill} import amf.apicontract.client.scala.model.domain.bindings.pulsar.PulsarServerBinding import amf.apicontract.client.scala.model.domain.bindings.solace.SolaceServerBinding +import amf.apicontract.internal.spec.async.emitters.domain import amf.apicontract.internal.spec.async.parser.bindings.Bindings._ import amf.apicontract.internal.spec.oas.emitter.context.OasLikeSpecEmitterContext +import amf.core.client.scala.model.domain.Shape import amf.core.internal.annotations.SynthesizedField import org.yaml.model.{YDocument, YNode} @@ -45,8 +40,9 @@ class AsyncApiServerBindingsEmitter(binding: ServerBinding, ordering: SpecOrderi override def position(): Position = pos(binding.annotations) } -class MqttServerBindingEmitter(binding: MqttServerBinding, ordering: SpecOrdering) - extends AsyncApiCommonBindingEmitter { +class MqttServerBindingEmitter(binding: MqttServerBinding, ordering: SpecOrdering)(implicit + val spec: OasLikeSpecEmitterContext +) extends AsyncApiCommonBindingEmitter { override def emit(b: YDocument.EntryBuilder): Unit = { b.entry( @@ -60,6 +56,18 @@ class MqttServerBindingEmitter(binding: MqttServerBinding, ordering: SpecOrderin fs.entry(MqttServerBindingModel.KeepAlive).foreach(f => result += ValueEmitter("keepAlive", f)) fs.entry(MqttServerBindingModel.LastWill) .foreach(_ => result += new LastWillEmitter(binding.lastWill, ordering)) + fs.entry(MqttServerBinding020Model.SessionExpiryInterval) + .foreach(f => result += ValueEmitter("sessionExpiryInterval", f)) + fs.entry(MqttServerBinding020Model.SessionExpiryIntervalSchema) + .foreach(f => + result += domain.AsyncSchemaEmitter("sessionExpiryInterval", f.element.asInstanceOf[Shape], ordering, Seq()) + ) + fs.entry(MqttServerBinding020Model.MaximumPacketSize) + .foreach(f => result += ValueEmitter("maximumPacketSize", f)) + fs.entry(MqttServerBinding020Model.MaximumPacketSizeSchema) + .foreach(f => + result += domain.AsyncSchemaEmitter("maximumPacketSize", f.element.asInstanceOf[Shape], ordering, Seq()) + ) emitBindingVersion(fs, result) traverse(ordering.sorted(result), emitter) @@ -130,6 +138,7 @@ class SolaceServerBindingEmitter(binding: SolaceServerBinding, ordering: SpecOrd val fs = binding.fields fs.entry(SolaceServerBindingModel.MsgVpn).foreach(f => result += ValueEmitter("msgVpn", f)) + fs.entry(SolaceServerBinding040Model.ClientName).foreach(f => result += ValueEmitter("clientName", f)) emitBindingVersion(fs, result) traverse(ordering.sorted(result), emitter) diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/emitters/domain/AsyncApiDestinationsEmitter.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/emitters/domain/AsyncApiDestinationsEmitter.scala index 5c8bec9a46..22ed3319c0 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/emitters/domain/AsyncApiDestinationsEmitter.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/emitters/domain/AsyncApiDestinationsEmitter.scala @@ -2,11 +2,18 @@ package amf.apicontract.internal.spec.async.emitters.domain import amf.apicontract.client.scala.model.domain.bindings.solace.{ SolaceOperationDestination, + SolaceOperationDestination010, + SolaceOperationDestination020, + SolaceOperationDestination030, + SolaceOperationDestination040, SolaceOperationQueue, + SolaceOperationQueue030, SolaceOperationTopic } import amf.apicontract.internal.metamodel.domain.bindings.{ SolaceOperationDestinationModel, + SolaceOperationQueue010Model, + SolaceOperationQueue030Model, SolaceOperationQueueModel, SolaceOperationTopicModel } @@ -63,8 +70,19 @@ class SingleDestinationEmitter(destination: SolaceOperationDestination, ordering } } - Option(destination.queue).foreach(queue => result += new SolaceOperationQueueEmitter(queue, ordering)) - Option(destination.topic).foreach(topic => result += new SolaceOperationTopicEmitter(topic, ordering)) + Option(destination.queue).foreach { queue => + val emitter = new SolaceOperationQueueEmitter(queue, ordering) + result += emitter + } + destination match { + case binding020: SolaceOperationDestination020 => + Option(binding020.topic).foreach(topic => result += new SolaceOperationTopicEmitter(topic, ordering)) + case binding030: SolaceOperationDestination030 => + Option(binding030.topic).foreach(topic => result += new SolaceOperationTopicEmitter(topic, ordering)) + case binding040: SolaceOperationDestination040 => + Option(binding040.topic).foreach(topic => result += new SolaceOperationTopicEmitter(topic, ordering)) + case _ => + } result ++= AnnotationsEmitter(destination, ordering).emitters @@ -89,8 +107,9 @@ class SolaceOperationQueueEmitter(queue: SolaceOperationQueue, ordering: SpecOrd fs.entry(SolaceOperationQueueModel.TopicSubscriptions) .foreach(f => result += spec.arrayEmitter("topicSubscriptions", f, ordering)) fs.entry(SolaceOperationQueueModel.AccessType).foreach(f => result += ValueEmitter("accessType", f)) - fs.entry(SolaceOperationQueueModel.MaxMsgSpoolSize).foreach(f => result += ValueEmitter("maxMsgSpoolSize", f)) - fs.entry(SolaceOperationQueueModel.MaxTtl).foreach(f => result += ValueEmitter("maxTtl", f)) + fs.entry(SolaceOperationQueue030Model.MaxMsgSpoolSize) + .foreach(f => result += ValueEmitter("maxMsgSpoolSize", f)) + fs.entry(SolaceOperationQueue030Model.MaxTtl).foreach(f => result += ValueEmitter("maxTtl", f)) traverse(ordering.sorted(result), emitter) } diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/parser/bindings/BindingParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/parser/bindings/BindingParser.scala index 7b324f6745..7e140027b6 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/parser/bindings/BindingParser.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/parser/bindings/BindingParser.scala @@ -55,7 +55,7 @@ trait BindingParser[+Binding <: DomainElement] extends SpecParserOps { protected def isSemVer(str: String): Boolean = { val regex = """^([0-9]+)\.([0-9]+)\.([0-9]+)$""".r - regex.findFirstIn(str).isDefined + regex.findFirstIn(str).isDefined || str == "latest" } protected def getDefaultBindingVersion(binding: String, spec: Spec): String = { @@ -69,10 +69,24 @@ trait BindingParser[+Binding <: DomainElement] extends SpecParserOps { case ("KafkaOperationBinding", ASYNC21 | ASYNC22 | ASYNC23 | ASYNC24 | ASYNC25 | ASYNC26) => "0.3.0" case ("KafkaMessageBinding", ASYNC20) => "0.1.0" case ("KafkaMessageBinding", ASYNC21 | ASYNC22 | ASYNC23 | ASYNC24 | ASYNC25 | ASYNC26) => "0.3.0" + // defined in 0.3.0 onwards - case ("KafkaServerBinding", ASYNC20 | ASYNC21 | ASYNC22 | ASYNC23 | ASYNC24 | ASYNC25 | ASYNC26) => "0.3.0" - // defined in 0.3.0 onwards + case ("KafkaServerBinding", ASYNC20 | ASYNC21 | ASYNC22 | ASYNC23 | ASYNC24 | ASYNC25 | ASYNC26) => "0.3.0" case ("KafkaChannelBinding", ASYNC20 | ASYNC21 | ASYNC22 | ASYNC23 | ASYNC24 | ASYNC25 | ASYNC26) => "0.3.0" + + case ("HttpOperationBinding", ASYNC20 | ASYNC21 | ASYNC22 | ASYNC23 | ASYNC24 | ASYNC25 | ASYNC26) => "0.1.0" + case ("HttpMessageBinding", ASYNC20 | ASYNC21 | ASYNC22 | ASYNC23 | ASYNC24 | ASYNC25 | ASYNC26) => "0.1.0" + case ("GooglePubSubChannelBinding", ASYNC20 | ASYNC21 | ASYNC22 | ASYNC23 | ASYNC24 | ASYNC25 | ASYNC26) => + "0.1.0" + case ("GooglePubSubMessageBinding", ASYNC20 | ASYNC21 | ASYNC22 | ASYNC23 | ASYNC24 | ASYNC25 | ASYNC26) => + "0.1.0" + case ("MqttServerBinding", ASYNC20 | ASYNC21 | ASYNC22 | ASYNC23 | ASYNC24 | ASYNC25 | ASYNC26) => "0.1.0" + case ("MqttOperationBinding", ASYNC20 | ASYNC21 | ASYNC22 | ASYNC23 | ASYNC24 | ASYNC25 | ASYNC26) => "0.1.0" + case ("MqttMessageBinding", ASYNC20 | ASYNC21 | ASYNC22 | ASYNC23 | ASYNC24 | ASYNC25 | ASYNC26) => "0.1.0" + case("SolaceServerBinding", ASYNC20 | ASYNC21 | ASYNC22 | ASYNC23 | ASYNC24 | ASYNC25 | ASYNC26) => "0.3.0" + case("SolaceOperationBinding", ASYNC20 | ASYNC21 | ASYNC22 | ASYNC23 | ASYNC24 | ASYNC25 | ASYNC26) => "0.3.0" + case("SolaceOperationDestination", ASYNC20 | ASYNC21 | ASYNC22 | ASYNC23 | ASYNC24 | ASYNC25 | ASYNC26) => "0.3.0" + case("SolaceOperationQueue", ASYNC20 | ASYNC21 | ASYNC22 | ASYNC23 | ASYNC24 | ASYNC25 | ASYNC26) => "0.3.0" } } @@ -166,4 +180,20 @@ trait BindingParser[+Binding <: DomainElement] extends SpecParserOps { ): Unit = { ctx.violation(RequiredField, node, s"field '$missingField' is required in a $schema") } + + def parseScalarOrRefOrSchema(binding: DomainElement, entry: YMapEntry, intField: Field, schemaField: Field)(implicit + ctx: AsyncWebApiContext + ): Unit = { + entry.value.tagType match { + case YType.Int | YType.Str => + Some(entry).foreach(intField in binding) + case YType.Map => + ctx.link(entry.value) match { + case Left(fullRef) => + handleRef(fullRef, "schemas", entry, schemaField, binding) + case Right(_) => + parseSchema(schemaField, binding, entry) + } + } + } } diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/parser/bindings/channel/GooglePubSubChannelBindingParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/parser/bindings/channel/GooglePubSubChannelBindingParser.scala index 3493b8a619..a464d97c66 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/parser/bindings/channel/GooglePubSubChannelBindingParser.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/parser/bindings/channel/GooglePubSubChannelBindingParser.scala @@ -2,10 +2,13 @@ package amf.apicontract.internal.spec.async.parser.bindings.channel import amf.apicontract.client.scala.model.domain.bindings.googlepubsub.{ GooglePubSubChannelBinding, + GooglePubSubChannelBinding010, + GooglePubSubChannelBinding020, GooglePubSubMessageStoragePolicy, GooglePubSubSchemaSettings } import amf.apicontract.internal.metamodel.domain.bindings.{ + GooglePubSubChannelBinding010Model, GooglePubSubChannelBindingModel, GooglePubSubMessageStoragePolicyModel, GooglePubSubSchemaSettingsModel @@ -19,8 +22,17 @@ import org.yaml.model.{YMap, YMapEntry} object GooglePubSubChannelBindingParser extends BindingParser[GooglePubSubChannelBinding] { override def parse(entry: YMapEntry, parent: String)(implicit ctx: AsyncWebApiContext): GooglePubSubChannelBinding = { - val binding = GooglePubSubChannelBinding(Annotations(entry)) - val map = entry.value.as[YMap] + val map = entry.value.as[YMap] + val bindingVersion = getBindingVersion(entry.value.as[YMap], "GooglePubSubChannelBinding", ctx.specSettings.spec) + + val binding = bindingVersion match { + case "0.2.0" | "latest" => GooglePubSubChannelBinding020(Annotations(entry)) + case "0.1.0" => GooglePubSubChannelBinding010(Annotations(entry)) + case invalidVersion => + val defaultBinding = GooglePubSubChannelBinding010(Annotations(entry)) + invalidBindingVersion(defaultBinding, invalidVersion, "GooglePubSub Channel Binding") + defaultBinding + } map.key( "labels", @@ -30,16 +42,21 @@ object GooglePubSubChannelBindingParser extends BindingParser[GooglePubSubChanne } ) map.key("messageRetentionDuration", GooglePubSubChannelBindingModel.MessageRetentionDuration in binding) - map.key("topic", GooglePubSubChannelBindingModel.Topic in binding) - parseMessageStoragePolicy(binding, map) parseSchemaSettings(binding, map) parseBindingVersion(binding, GooglePubSubChannelBindingModel.BindingVersion, map) - ctx.closedShape(binding, map, "GooglePubSubChannelBinding") - binding + bindingVersion match { + case "0.2.0" | "latest" => + ctx.closedShape(binding, map, "GooglePubSubChannelBinding020") + case _ => + map.key("topic", GooglePubSubChannelBinding010Model.Topic in binding) + ctx.closedShape(binding, map, "GooglePubSubChannelBinding010") + } + binding } + private def parseSchemaSettings(binding: GooglePubSubChannelBinding, map: YMap)(implicit ctx: AsyncWebApiContext ): Unit = { @@ -78,5 +95,4 @@ object GooglePubSubChannelBindingParser extends BindingParser[GooglePubSubChanne } ) } - } diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/parser/bindings/message/GooglePubSubMessageBindingParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/parser/bindings/message/GooglePubSubMessageBindingParser.scala index 6d7681c05e..651d91ad59 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/parser/bindings/message/GooglePubSubMessageBindingParser.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/parser/bindings/message/GooglePubSubMessageBindingParser.scala @@ -2,10 +2,14 @@ package amf.apicontract.internal.spec.async.parser.bindings.message import amf.apicontract.client.scala.model.domain.bindings.googlepubsub.{ GooglePubSubMessageBinding, - GooglePubSubSchemaDefinition + GooglePubSubMessageBinding010, + GooglePubSubMessageBinding020, + GooglePubSubSchemaDefinition010, + GooglePubSubSchemaDefinition020 } import amf.apicontract.internal.metamodel.domain.bindings.{ GooglePubSubMessageBindingModel, + GooglePubSubSchemaDefinition010Model, GooglePubSubSchemaDefinitionModel } import amf.apicontract.internal.spec.async.parser.bindings.BindingParser @@ -17,8 +21,17 @@ import org.yaml.model.{YMap, YMapEntry} object GooglePubSubMessageBindingParser extends BindingParser[GooglePubSubMessageBinding] { override def parse(entry: YMapEntry, parent: String)(implicit ctx: AsyncWebApiContext): GooglePubSubMessageBinding = { - val binding = GooglePubSubMessageBinding(Annotations(entry)) - val map = entry.value.as[YMap] + val map = entry.value.as[YMap] + val bindingVersion = getBindingVersion(entry.value.as[YMap], "GooglePubSubMessageBinding", ctx.specSettings.spec) + + val binding = bindingVersion match { + case "0.2.0" | "latest" => GooglePubSubMessageBinding020(Annotations(entry)) + case "0.1.0" => GooglePubSubMessageBinding010(Annotations(entry)) + case invalidVersion => + val defaultBinding = GooglePubSubMessageBinding010(Annotations(entry)) + invalidBindingVersion(defaultBinding, invalidVersion, "GooglePubSub Message Binding") + defaultBinding + } map.key( "attributes", @@ -28,7 +41,7 @@ object GooglePubSubMessageBindingParser extends BindingParser[GooglePubSubMessag } ) map.key("orderingKey", GooglePubSubMessageBindingModel.OrderingKey in binding) - parseSchemaDefinition(binding, map) + parseSchemaDefinition(binding, map, bindingVersion) parseBindingVersion(binding, GooglePubSubMessageBindingModel.BindingVersion, map) @@ -36,19 +49,31 @@ object GooglePubSubMessageBindingParser extends BindingParser[GooglePubSubMessag binding } - private def parseSchemaDefinition(binding: GooglePubSubMessageBinding, map: YMap)(implicit + private def parseSchemaDefinition(binding: GooglePubSubMessageBinding, map: YMap, bindingVersion: String)(implicit ctx: AsyncWebApiContext ): Unit = { map.key( "schema", { entry => - val schema = GooglePubSubSchemaDefinition(Annotations(entry.value)) val schemaMap = entry.value.as[YMap] + val schema = bindingVersion match { + case "0.2.0" | "latest" => GooglePubSubSchemaDefinition020(Annotations(entry.value)) + case _ => GooglePubSubSchemaDefinition010(Annotations(entry.value)) + } + schemaMap.key("name", GooglePubSubSchemaDefinitionModel.Name in schema) - schemaMap.key("type", GooglePubSubSchemaDefinitionModel.FieldType in schema) - ctx.closedShape(schema, schemaMap, "GooglePubSubMessageSchema") + bindingVersion match { + case "0.2.0" | "latest" => + GooglePubSubMessageBinding020(Annotations(entry.value)) + ctx.closedShape(schema, schemaMap, "GooglePubSubMessageSchema020") + case _ => + GooglePubSubMessageBinding010(Annotations(entry.value)) + schemaMap.key("type", GooglePubSubSchemaDefinition010Model.FieldType in schema) + ctx.closedShape(schema, schemaMap, "GooglePubSubMessageSchema010") + } + binding.setWithoutId(GooglePubSubMessageBindingModel.Schema, schema, Annotations(entry)) } ) diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/parser/bindings/message/HttpMessageBindingParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/parser/bindings/message/HttpMessageBindingParser.scala index bfc9a79b12..1d10db9042 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/parser/bindings/message/HttpMessageBindingParser.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/parser/bindings/message/HttpMessageBindingParser.scala @@ -1,8 +1,11 @@ package amf.apicontract.internal.spec.async.parser.bindings.message -import amf.apicontract.client.scala.model.domain.bindings.http.HttpMessageBinding -import amf.apicontract.client.scala.model.domain.bindings.kafka.KafkaMessageBinding -import amf.apicontract.internal.metamodel.domain.bindings.{HttpMessageBindingModel, KafkaMessageBindingModel} +import amf.apicontract.client.scala.model.domain.bindings.http.{ + HttpMessageBinding, + HttpMessageBinding020, + HttpMessageBinding030 +} +import amf.apicontract.internal.metamodel.domain.bindings.{HttpMessageBinding030Model, HttpMessageBindingModel} import amf.apicontract.internal.spec.async.parser.bindings.BindingParser import amf.apicontract.internal.spec.async.parser.context.AsyncWebApiContext import amf.core.internal.parser.YMapOps @@ -11,13 +14,27 @@ import org.yaml.model.{YMap, YMapEntry} object HttpMessageBindingParser extends BindingParser[HttpMessageBinding] { override def parse(entry: YMapEntry, parent: String)(implicit ctx: AsyncWebApiContext): HttpMessageBinding = { - val binding = HttpMessageBinding(Annotations(entry)) - val map = entry.value.as[YMap] + val bindingVersion = getBindingVersion(entry.value.as[YMap], "HttpMessageBinding", ctx.specSettings.spec) + val map = entry.value.as[YMap] + val binding = bindingVersion match { + case "0.3.0" | "latest" => HttpMessageBinding030(Annotations(entry)) + case "0.1.0" | "0.2.0" => HttpMessageBinding020(Annotations(entry)) + case invalidVersion => + val defaultBinding = HttpMessageBinding020(Annotations(entry)) + invalidBindingVersion(defaultBinding, invalidVersion, "HTTP Message Binding", warning = true) + defaultBinding + } map.key("headers", parseSchema(HttpMessageBindingModel.Headers, binding, _)) parseBindingVersion(binding, HttpMessageBindingModel.BindingVersion, map) - ctx.closedShape(binding, map, "httpMessageBinding") + bindingVersion match { + case "0.3.0" | "latest" => + map.key("statusCode", HttpMessageBinding030Model.StatusCode in binding) + ctx.closedShape(binding, map, "httpMessageBinding030") + case _ => + ctx.closedShape(binding, map, "httpMessageBinding020") + } binding } diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/parser/bindings/message/MqttMessageBindingParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/parser/bindings/message/MqttMessageBindingParser.scala index 01d2271b00..56d0453670 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/parser/bindings/message/MqttMessageBindingParser.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/parser/bindings/message/MqttMessageBindingParser.scala @@ -1,21 +1,56 @@ package amf.apicontract.internal.spec.async.parser.bindings.message -import amf.apicontract.client.scala.model.domain.bindings.mqtt.MqttMessageBinding -import amf.apicontract.internal.metamodel.domain.bindings.MqttMessageBindingModel +import amf.apicontract.client.scala.model.domain.bindings.mqtt.{ + MqttMessageBinding, + MqttMessageBinding010, + MqttMessageBinding020 +} +import amf.apicontract.internal.metamodel.domain.bindings.{MqttMessageBinding020Model, MqttMessageBindingModel} import amf.apicontract.internal.spec.async.parser.bindings.BindingParser import amf.apicontract.internal.spec.async.parser.context.AsyncWebApiContext +import amf.core.internal.parser.YMapOps import amf.core.internal.parser.domain.Annotations import org.yaml.model.{YMap, YMapEntry} object MqttMessageBindingParser extends BindingParser[MqttMessageBinding] { override def parse(entry: YMapEntry, parent: String)(implicit ctx: AsyncWebApiContext): MqttMessageBinding = { - val binding = MqttMessageBinding(Annotations(entry)) + val map = entry.value.as[YMap] + val bindingVersion = getBindingVersion(entry.value.as[YMap], "MqttMessageBinding", ctx.specSettings.spec) - val map = entry.value.as[YMap] + val binding = bindingVersion match { + case "0.2.0" | "latest" => MqttMessageBinding020(Annotations(entry)) + case "0.1.0" => MqttMessageBinding010(Annotations(entry)) + case invalidVersion => + val defaultBinding = MqttMessageBinding010(Annotations(entry)) + invalidBindingVersion(defaultBinding, invalidVersion, "Mqtt Server Binding") + defaultBinding + } - parseBindingVersion(binding, MqttMessageBindingModel.BindingVersion, map) + bindingVersion match { + case "0.2.0" | "latest" => + map.key("payloadFormatIndicator", MqttMessageBinding020Model.PayloadFormatIndicator in binding) + map.key("correlationData").foreach { entry => + ctx.link(entry.value) match { + case Left(fullRef) => + handleRef(fullRef, "schemas", entry, MqttMessageBinding020Model.CorrelationData, binding) + case Right(_) => parseSchema(MqttMessageBinding020Model.CorrelationData, binding, entry) + } + } + map.key("contentType", MqttMessageBinding020Model.ContentType in binding) + map.key("responseTopic").foreach { entry => + parseScalarOrRefOrSchema( + binding, + entry, + MqttMessageBinding020Model.ResponseTopic, + MqttMessageBinding020Model.ResponseTopicSchema + ) + } + ctx.closedShape(binding, map, "mqttMessageBinding020") + case _ => + ctx.closedShape(binding, map, "mqttMessageBinding010") + } - ctx.closedShape(binding, map, "mqttMessageBinding") + parseBindingVersion(binding, MqttMessageBindingModel.BindingVersion, map) binding } diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/parser/bindings/operation/HttpOperationBindingParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/parser/bindings/operation/HttpOperationBindingParser.scala index edc09fc13a..4b0427d463 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/parser/bindings/operation/HttpOperationBindingParser.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/parser/bindings/operation/HttpOperationBindingParser.scala @@ -1,7 +1,11 @@ package amf.apicontract.internal.spec.async.parser.bindings.operation -import amf.apicontract.client.scala.model.domain.bindings.http.HttpOperationBinding -import amf.apicontract.internal.metamodel.domain.bindings.HttpOperationBindingModel +import amf.apicontract.client.scala.model.domain.bindings.http.{ + HttpOperationBinding, + HttpOperationBinding010, + HttpOperationBinding020 +} +import amf.apicontract.internal.metamodel.domain.bindings.{HttpOperationBinding010Model, HttpOperationBindingModel} import amf.apicontract.internal.spec.async.parser.bindings.BindingParser import amf.apicontract.internal.spec.async.parser.context.AsyncWebApiContext import amf.core.internal.parser.YMapOps @@ -10,15 +14,31 @@ import org.yaml.model.{YMap, YMapEntry} object HttpOperationBindingParser extends BindingParser[HttpOperationBinding] { override def parse(entry: YMapEntry, parent: String)(implicit ctx: AsyncWebApiContext): HttpOperationBinding = { - val binding = HttpOperationBinding(Annotations(entry)) - val map = entry.value.as[YMap] + val map = entry.value.as[YMap] + val bindingVersion = getBindingVersion(entry.value.as[YMap], "HttpOperationBinding", ctx.specSettings.spec) + + val binding = bindingVersion match { + case "0.2.0" | "0.3.0" | "latest" => HttpOperationBinding020(Annotations(entry)) + case "0.1.0" => HttpOperationBinding010(Annotations(entry)) + case invalidVersion => + val defaultBinding = HttpOperationBinding010(Annotations(entry)) + invalidBindingVersion(defaultBinding, invalidVersion, "HTTP Operation Binding", warning = true) + defaultBinding + } - map.key("type", HttpOperationBindingModel.OperationType in binding) - if (binding.operationType.is("request")) map.key("method", HttpOperationBindingModel.Method in binding) map.key("query", entry => parseSchema(HttpOperationBindingModel.Query, binding, entry)) + parseBindingVersion(binding, HttpOperationBindingModel.BindingVersion, map) - ctx.closedShape(binding, map, "httpOperationBinding") + binding match { + case default: HttpOperationBinding010 => + map.key("type", HttpOperationBinding010Model.OperationType in binding) + if (default.operationType.is("request")) map.key("method", HttpOperationBindingModel.Method in binding) + ctx.closedShape(binding, map, "httpOperationBinding010") + case _ => + map.key("method", HttpOperationBindingModel.Method in binding) + ctx.closedShape(binding, map, "httpOperationBinding020") + } binding } diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/parser/bindings/operation/MqttOperationBindingParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/parser/bindings/operation/MqttOperationBindingParser.scala index 5b1fb420d5..76e2ed1182 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/parser/bindings/operation/MqttOperationBindingParser.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/parser/bindings/operation/MqttOperationBindingParser.scala @@ -1,7 +1,11 @@ package amf.apicontract.internal.spec.async.parser.bindings.operation -import amf.apicontract.client.scala.model.domain.bindings.mqtt.{MqttMessageBinding, MqttOperationBinding} -import amf.apicontract.internal.metamodel.domain.bindings.{MqttMessageBindingModel, MqttOperationBindingModel} +import amf.apicontract.client.scala.model.domain.bindings.mqtt.{ + MqttOperationBinding, + MqttOperationBinding010, + MqttOperationBinding020 +} +import amf.apicontract.internal.metamodel.domain.bindings.{MqttOperationBinding020Model, MqttOperationBindingModel} import amf.apicontract.internal.spec.async.parser.bindings.BindingParser import amf.apicontract.internal.spec.async.parser.context.AsyncWebApiContext import amf.core.internal.parser.YMapOps @@ -10,14 +14,36 @@ import org.yaml.model.{YMap, YMapEntry} object MqttOperationBindingParser extends BindingParser[MqttOperationBinding] { override def parse(entry: YMapEntry, parent: String)(implicit ctx: AsyncWebApiContext): MqttOperationBinding = { - val binding = MqttOperationBinding(Annotations(entry)) - val map = entry.value.as[YMap] + val map = entry.value.as[YMap] + val bindingVersion = getBindingVersion(entry.value.as[YMap], "MqttOperationBinding", ctx.specSettings.spec) + + val binding = bindingVersion match { + case "0.2.0" | "latest" => MqttOperationBinding020(Annotations(entry)) + case "0.1.0" => MqttOperationBinding010(Annotations(entry)) + case invalidVersion => + val defaultBinding = MqttOperationBinding010(Annotations(entry)) + invalidBindingVersion(defaultBinding, invalidVersion, "Mqtt Server Binding") + defaultBinding + } map.key("qos", MqttOperationBindingModel.Qos in binding) map.key("retain", MqttOperationBindingModel.Retain in binding) parseBindingVersion(binding, MqttOperationBindingModel.BindingVersion, map) - ctx.closedShape(binding, map, "mqttOperationBinding") + bindingVersion match { + case "0.2.0" | "latest" => + map.key("messageExpiryInterval").foreach { entry => + parseScalarOrRefOrSchema( + binding, + entry, + MqttOperationBinding020Model.MessageExpiryInterval, + MqttOperationBinding020Model.MessageExpiryIntervalSchema + ) + } + ctx.closedShape(binding, map, "mqttOperationBinding020") + case _ => + ctx.closedShape(binding, map, "mqttOperationBinding010") + } binding } diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/parser/bindings/operation/SolaceOperationBindingParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/parser/bindings/operation/SolaceOperationBindingParser.scala index 78d659820a..1478d9cba4 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/parser/bindings/operation/SolaceOperationBindingParser.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/parser/bindings/operation/SolaceOperationBindingParser.scala @@ -1,17 +1,7 @@ package amf.apicontract.internal.spec.async.parser.bindings.operation -import amf.apicontract.client.scala.model.domain.bindings.solace.{ - SolaceOperationBinding, - SolaceOperationDestination, - SolaceOperationQueue, - SolaceOperationTopic -} -import amf.apicontract.internal.metamodel.domain.bindings.{ - SolaceOperationBindingModel, - SolaceOperationDestinationModel, - SolaceOperationQueueModel, - SolaceOperationTopicModel -} +import amf.apicontract.client.scala.model.domain.bindings.solace.{SolaceOperationBinding, SolaceOperationBinding010, SolaceOperationBinding020, SolaceOperationBinding030, SolaceOperationBinding040, SolaceOperationDestination, SolaceOperationDestination010, SolaceOperationDestination020, SolaceOperationDestination030, SolaceOperationDestination040, SolaceOperationQueue, SolaceOperationQueue010, SolaceOperationQueue030, SolaceOperationTopic} +import amf.apicontract.internal.metamodel.domain.bindings.{SolaceOperationBinding010Model, SolaceOperationBinding020Model, SolaceOperationBinding030Model, SolaceOperationBinding040Model, SolaceOperationBindingModel, SolaceOperationDestination020Model, SolaceOperationDestinationModel, SolaceOperationQueue030Model, SolaceOperationQueueModel, SolaceOperationTopicModel} import amf.apicontract.internal.spec.async.parser.bindings.BindingParser import amf.apicontract.internal.spec.async.parser.context.AsyncWebApiContext import amf.core.client.scala.model.domain.{AmfArray, AmfScalar} @@ -21,29 +11,56 @@ import amf.core.internal.parser.YMapOps object SolaceOperationBindingParser extends BindingParser[SolaceOperationBinding] { override def parse(entry: YMapEntry, parent: String)(implicit ctx: AsyncWebApiContext): SolaceOperationBinding = { - val binding = SolaceOperationBinding(Annotations(entry)) - val map = entry.value.as[YMap] + val bindingVersion = getBindingVersion(entry.value.as[YMap], "SolaceOperationBinding", ctx.specSettings.spec) + val map = entry.value.as[YMap] + val binding: SolaceOperationBinding = bindingVersion match { + case "0.4.0" | "latest" => SolaceOperationBinding040(Annotations(entry)) + case "0.3.0" => SolaceOperationBinding030(Annotations(entry)) + case "0.2.0" => SolaceOperationBinding020(Annotations(entry)) + case "0.1.0" => SolaceOperationBinding010(Annotations(entry)) + case invalidVersion => //default to 0.3.0 + val defaultBinding = SolaceOperationBinding030(Annotations(entry)) + invalidBindingVersion(defaultBinding, invalidVersion, "Solace Operation Binding") + defaultBinding + } map.key("destinations").foreach { entry => - val destinations = entry.value.as[Seq[YMap]].map(parseDestination) + val destinations = entry.value.as[Seq[YMap]].map(yMap => parseDestination(yMap, bindingVersion)) + val field = bindingVersion match { + case "0.4.0" | "latest" => SolaceOperationBinding040Model.Destinations + case "0.3.0" => SolaceOperationBinding030Model.Destinations + case "0.2.0" => SolaceOperationBinding020Model.Destinations + case "0.1.0" => SolaceOperationBinding010Model.Destinations + case _ => SolaceOperationBinding030Model.Destinations // default to 0.3.0 + } binding.setWithoutId( - SolaceOperationBindingModel.Destinations, + field, AmfArray(destinations, Annotations(entry.value)), Annotations(entry) ) } + map.key("timeToLive").foreach(SolaceOperationBinding040Model.TimeToLive in binding) + map.key("priority").foreach(SolaceOperationBinding040Model.Priority in binding) + map.key("dmqEligible").foreach(SolaceOperationBinding040Model.DmqEligible in binding) + parseBindingVersion(binding, SolaceOperationBindingModel.BindingVersion, map) - ctx.closedShape(binding, map, "SolaceOperationBinding") + ctx.closedShape(binding, map, "SolaceOperationBinding010") binding } - private def parseDestination(map: YMap)(implicit + private def parseDestination(map: YMap, bindingVersion: String)(implicit ctx: AsyncWebApiContext ): SolaceOperationDestination = { - val destination = SolaceOperationDestination(Annotations(map)) + val destination = bindingVersion match { + case "0.4.0" | "latest" => SolaceOperationDestination040(Annotations(map)) + case "0.3.0" => SolaceOperationDestination030(Annotations(map)) + case "0.2.0" => SolaceOperationDestination020(Annotations(map)) + case "0.1.0" => SolaceOperationDestination010(Annotations(map)) + case _ => SolaceOperationDestination030(Annotations(map)) + } map.key("destinationType", SolaceOperationDestinationModel.DestinationType in destination) @@ -52,18 +69,34 @@ object SolaceOperationBindingParser extends BindingParser[SolaceOperationBinding case None => setDefaultValue(destination, SolaceOperationDestinationModel.DeliveryMode, AmfScalar("persistent")) } - parseQueue(destination, map) - parseTopic(destination, map) - + parseQueue(destination, map, bindingVersion) + bindingVersion match { + case "0.1.0" => ctx.closedShape(destination, map, s"SolaceOperationDestination010") + case "0.2.0" | "0.3.0" | "0.4.0" | "latest" => + parseTopic(destination, map) + ctx.closedShape(destination, map, s"SolaceOperationDestination020") + case _ => + parseTopic(destination, map) + ctx.closedShape(destination, map, "SolaceOperationDestination020") + } destination } - private def parseQueue(destination: SolaceOperationDestination, map: YMap)(implicit ctx: AsyncWebApiContext): Unit = { + private def parseQueue(destination: SolaceOperationDestination, map: YMap, bindingVersion: String)(implicit ctx: AsyncWebApiContext): Unit = { map.key( "queue", { entry => - val queue = SolaceOperationQueue(Annotations(entry.value)) val queueMap = entry.value.as[YMap] + val queue = bindingVersion match { + case "0.2.0" | "0.1.0" => SolaceOperationQueue010(Annotations(entry.value)) + case "0.4.0" | "0.3.0" | "latest" => + val queue030 = SolaceOperationQueue030(Annotations(entry.value)) + queueMap.key("maxMsgSpoolSize", SolaceOperationQueue030Model.MaxMsgSpoolSize in queue030) + queueMap.key("maxTtl", SolaceOperationQueue030Model.MaxTtl in queue030) + queue030 + case _ => + SolaceOperationQueue030(Annotations(entry.value)) + } queueMap.key("name", SolaceOperationQueueModel.Name in queue) @@ -71,11 +104,13 @@ object SolaceOperationBindingParser extends BindingParser[SolaceOperationBinding queueMap.key("accessType", SolaceOperationQueueModel.AccessType in queue) - queueMap.key("maxMsgSpoolSize", SolaceOperationQueueModel.MaxMsgSpoolSize in queue) - - queueMap.key("maxTtl", SolaceOperationQueueModel.MaxTtl in queue) - - ctx.closedShape(queue, queueMap, "SolaceOperationQueue") + bindingVersion match { + case "0.2.0" | "0.1.0" => ctx.closedShape(queue, queueMap, "SolaceOperationQueue010") + case "0.4.0" | "0.3.0" | "latest" => + ctx.closedShape(queue, queueMap, "SolaceOperationQueue030") + case _ => + ctx.closedShape(queue, queueMap, "SolaceOperationQueue030") + } destination.setWithoutId(SolaceOperationDestinationModel.Queue, queue, Annotations(entry)) } @@ -93,7 +128,7 @@ object SolaceOperationBindingParser extends BindingParser[SolaceOperationBinding ctx.closedShape(topic, topicMap, "SolaceOperationTopic") - destination.setWithoutId(SolaceOperationDestinationModel.Topic, topic, Annotations(entry)) + destination.setWithoutId(SolaceOperationDestination020Model.Topic, topic, Annotations(entry)) } ) } diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/parser/bindings/server/MqttServerBindingParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/parser/bindings/server/MqttServerBindingParser.scala index fda65b91cd..5ddb3edf5e 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/parser/bindings/server/MqttServerBindingParser.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/parser/bindings/server/MqttServerBindingParser.scala @@ -1,7 +1,16 @@ package amf.apicontract.internal.spec.async.parser.bindings.server -import amf.apicontract.client.scala.model.domain.bindings.mqtt.{MqttServerBinding, MqttServerLastWill} -import amf.apicontract.internal.metamodel.domain.bindings.{MqttServerBindingModel, MqttServerLastWillModel} +import amf.apicontract.client.scala.model.domain.bindings.mqtt.{ + MqttServerBinding, + MqttServerBinding010, + MqttServerBinding020, + MqttServerLastWill +} +import amf.apicontract.internal.metamodel.domain.bindings.{ + MqttServerBinding020Model, + MqttServerBindingModel, + MqttServerLastWillModel +} import amf.apicontract.internal.spec.async.parser.bindings.BindingParser import amf.apicontract.internal.spec.async.parser.context.AsyncWebApiContext import amf.core.internal.parser.YMapOps @@ -10,8 +19,17 @@ import org.yaml.model.{YMap, YMapEntry} object MqttServerBindingParser extends BindingParser[MqttServerBinding] { override def parse(entry: YMapEntry, parent: String)(implicit ctx: AsyncWebApiContext): MqttServerBinding = { - val binding = MqttServerBinding(Annotations(entry)) - val map = entry.value.as[YMap] + val map = entry.value.as[YMap] + val bindingVersion = getBindingVersion(entry.value.as[YMap], "MqttServerBinding", ctx.specSettings.spec) + + val binding = bindingVersion match { + case "0.2.0" | "latest" => MqttServerBinding020(Annotations(entry)) + case "0.1.0" => MqttServerBinding010(Annotations(entry)) + case invalidVersion => + val defaultBinding = MqttServerBinding010(Annotations(entry)) + invalidBindingVersion(defaultBinding, invalidVersion, "Mqtt Server Binding") + defaultBinding + } map.key("clientId", MqttServerBindingModel.ClientId in binding) map.key("cleanSession", MqttServerBindingModel.CleanSession in binding) @@ -21,7 +39,28 @@ object MqttServerBindingParser extends BindingParser[MqttServerBinding] { parseBindingVersion(binding, MqttServerBindingModel.BindingVersion, map) - ctx.closedShape(binding, map, "mqttServerBinding") + bindingVersion match { + case "0.2.0" | "latest" => + map.key("sessionExpiryInterval").foreach { entry => + parseScalarOrRefOrSchema( + binding, + entry, + MqttServerBinding020Model.SessionExpiryInterval, + MqttServerBinding020Model.SessionExpiryIntervalSchema + ) + } + map.key("maximumPacketSize").foreach { entry => + parseScalarOrRefOrSchema( + binding, + entry, + MqttServerBinding020Model.MaximumPacketSize, + MqttServerBinding020Model.MaximumPacketSizeSchema + ) + } + ctx.closedShape(binding, map, "mqttServerBinding020") + case _ => + ctx.closedShape(binding, map, "mqttServerBinding010") + } binding } diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/parser/bindings/server/SolaceServerBindingParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/parser/bindings/server/SolaceServerBindingParser.scala index d01b88f927..5f0aa1e275 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/parser/bindings/server/SolaceServerBindingParser.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/parser/bindings/server/SolaceServerBindingParser.scala @@ -1,7 +1,7 @@ package amf.apicontract.internal.spec.async.parser.bindings.server -import amf.apicontract.client.scala.model.domain.bindings.solace.SolaceServerBinding -import amf.apicontract.internal.metamodel.domain.bindings.SolaceServerBindingModel +import amf.apicontract.client.scala.model.domain.bindings.solace.{SolaceServerBinding, SolaceServerBinding010, SolaceServerBinding040} +import amf.apicontract.internal.metamodel.domain.bindings.{SolaceServerBinding040Model, SolaceServerBindingModel} import amf.apicontract.internal.spec.async.parser.bindings.BindingParser import amf.apicontract.internal.spec.async.parser.context.AsyncWebApiContext import amf.core.internal.parser.YMapOps @@ -10,14 +10,27 @@ import org.yaml.model.{YMap, YMapEntry} object SolaceServerBindingParser extends BindingParser[SolaceServerBinding] { override def parse(entry: YMapEntry, parent: String)(implicit ctx: AsyncWebApiContext): SolaceServerBinding = { - val binding = SolaceServerBinding(Annotations(entry)) + val bindingVersion = getBindingVersion(entry.value.as[YMap], "SolaceServerBinding", ctx.specSettings.spec) val map = entry.value.as[YMap] + val binding: SolaceServerBinding = bindingVersion match { + case "0.4.0" | "latest" => SolaceServerBinding040(Annotations(entry)) + case "0.1.0" | "0.2.0" | "0.3.0" => SolaceServerBinding010(Annotations(entry)) + case invalidVersion => + val defaultBinding = SolaceServerBinding010(Annotations(entry)) + invalidBindingVersion(defaultBinding, invalidVersion, "Solace Server Binding") + defaultBinding + } map.key("msgVpn", SolaceServerBindingModel.MsgVpn in binding) + bindingVersion match { + case "0.4.0" | "latest" => + map.key("clientName", SolaceServerBinding040Model.ClientName in binding.asInstanceOf[SolaceServerBinding040]) + case _ => + } parseBindingVersion(binding, SolaceServerBindingModel.BindingVersion, map) - ctx.closedShape(binding, map, "SolaceServerBinding") + ctx.closedShape(binding, map, "SolaceServerBinding010") binding } diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/parser/context/syntax/Async20Syntax.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/parser/context/syntax/Async20Syntax.scala index e6bc1536f1..11d39b47a9 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/parser/context/syntax/Async20Syntax.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/parser/context/syntax/Async20Syntax.scala @@ -82,12 +82,17 @@ object Async20Syntax extends SpecSyntax { "autoDelete", "vhost" ), - "httpOperationBinding" -> Set( + "httpOperationBinding010" -> Set( "type", "method", "query", "bindingVersion" ), + "httpOperationBinding020" -> Set( + "method", + "query", + "bindingVersion" + ), "amqpOperationBinding010" -> Set( "expiration", "userId", @@ -118,16 +123,31 @@ object Async20Syntax extends SpecSyntax { "messageType", "bindingVersion" ), - "mqttOperationBinding" -> Set( + "mqttOperationBinding010" -> Set( + "qos", + "retain", + "bindingVersion" + ), + "mqttOperationBinding020" -> Set( "qos", "retain", + "messageExpiryInterval", + "bindingVersion" + ), + "mqttServerBinding010" -> Set( + "clientId", + "cleanSession", + "lastWill", + "keepAlive", "bindingVersion" ), - "mqttServerBinding" -> Set( + "mqttServerBinding020" -> Set( "clientId", "cleanSession", "lastWill", "keepAlive", + "sessionExpiryInterval", + "maximumPacketSize", "bindingVersion" ), "mqttServerLastWill" -> Set( @@ -136,11 +156,23 @@ object Async20Syntax extends SpecSyntax { "retain", "message" ), - "mqttMessageBinding" -> Set( + "mqttMessageBinding010" -> Set( + "bindingVersion" + ), + "mqttMessageBinding020" -> Set( + "payloadFormatIndicator", + "correlationData", + "contentType", + "responseTopic", + "bindingVersion" + ), + "httpMessageBinding020" -> Set( + "headers", "bindingVersion" ), - "httpMessageBinding" -> Set( + "httpMessageBinding030" -> Set( "headers", + "statusCode", "bindingVersion" ), "kafkaMessageBinding010" -> Set( diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/parser/context/syntax/Async23Syntax.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/parser/context/syntax/Async23Syntax.scala index fc8fc0282a..cdf7d744ca 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/parser/context/syntax/Async23Syntax.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/parser/context/syntax/Async23Syntax.scala @@ -12,21 +12,50 @@ object Async23Syntax extends SpecSyntax { "servers", "channels" ), - "SolaceServerBinding" -> Set( + "SolaceServerBinding010" -> Set( "msgVpn", "bindingVersion" ), - "SolaceOperationBinding" -> Set( + "SolaceServerBinding040" -> Set( + "msgVpn", + "bindingVersion", + "clientName" + ), + "SolaceOperationBinding010" -> Set( "destinations", "bindingVersion" ), - "SolaceOperationDestination" -> Set( + "SolaceOperationBinding040" -> Set( + "destinations", + "bindingVersion", + "timeToLive", + "priority", + "dmqEligible" + ), + "SolaceOperationDestination010" -> Set( + "destinationType", + "deliveryMode", + "queue" + ), + "SolaceOperationDestination020" -> Set( + "destinationType", + "deliveryMode", + "queue", + "topic" + ), + "SolaceOperationDestination040" -> Set( "destinationType", "deliveryMode", + "bindingVersion", "queue", "topic" ), - "SolaceOperationQueue" -> Set( + "SolaceOperationQueue010" -> Set( + "name", + "topicSubscriptions", + "accessType", + ), + "SolaceOperationQueue030" -> Set( "name", "topicSubscriptions", "accessType", diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/parser/context/syntax/Async25Syntax.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/parser/context/syntax/Async25Syntax.scala index 8e2904cab1..40d53a20e9 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/parser/context/syntax/Async25Syntax.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/parser/context/syntax/Async25Syntax.scala @@ -4,12 +4,13 @@ import amf.shapes.internal.spec.common.parser.SpecSyntax import amf.apicontract.internal.spec.async.parser.bindings.Bindings.GooglePubSub object Async25Syntax extends SpecSyntax { - override val nodes: Map[String, Set[String]] = add(Async24Syntax.nodes, + override val nodes: Map[String, Set[String]] = add( + Async24Syntax.nodes, "server" -> Set( "tags" ), - "bindings"-> Set(GooglePubSub), - "GooglePubSubChannelBinding" -> Set( + "bindings" -> Set(GooglePubSub), + "GooglePubSubChannelBinding010" -> Set( "labels", "messageRetentionDuration", "messageStoragePolicy", @@ -17,6 +18,13 @@ object Async25Syntax extends SpecSyntax { "topic", "bindingVersion" ), + "GooglePubSubChannelBinding020" -> Set( + "labels", + "messageRetentionDuration", + "messageStoragePolicy", + "schemaSettings", + "bindingVersion" + ), "GooglePubSubMessageStoragePolicy" -> Set( "allowedPersistenceRegions" ), @@ -32,9 +40,12 @@ object Async25Syntax extends SpecSyntax { "schema", "bindingVersion" ), - "GooglePubSubMessageSchema" -> Set( + "GooglePubSubMessageSchema010" -> Set( "name", "type" + ), + "GooglePubSubMessageSchema020" -> Set( + "name" ) ) } diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/oas/parser/document/Oas3ComponentParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/oas/parser/document/Oas3ComponentParser.scala index eb39baae28..4db13101fa 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/oas/parser/document/Oas3ComponentParser.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/oas/parser/document/Oas3ComponentParser.scala @@ -36,6 +36,7 @@ case class Oas3ComponentParser(root: Root)(implicit val ctx: OasWebApiContext) e assertPaths(rootMap, module) ctx.closedShape(module, rootMap, "root") } + ctx.futureDeclarations.resolve() module } diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/validation/model/APIRawValidations.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/validation/model/APIRawValidations.scala index 8323627a4c..62016d1d46 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/validation/model/APIRawValidations.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/validation/model/APIRawValidations.scala @@ -792,12 +792,19 @@ object APIRawValidations extends CommonValidationDefinitions { openApiErrorMessage = "Info object 'version' is mandatory" ), AMFValidation( - owlClass = apiBinding("HttpMessageBinding"), + owlClass = apiBinding("HttpMessageBinding020"), owlProperty = apiBinding("headers"), uri = amfParser("mandatory-header-name-pattern"), constraint = shape("mandatoryHeaderBindingNamePattern"), - ramlErrorMessage = "Header name must comply RFC-7230", - openApiErrorMessage = "Header name must comply RFC-7230", + message = "Header name must comply RFC-7230", + severity = SeverityLevels.WARNING + ), + AMFValidation( + owlClass = apiBinding("HttpMessageBinding030"), + owlProperty = apiBinding("headers"), + uri = amfParser("mandatory-header-name-pattern"), + constraint = shape("mandatoryHeaderBindingNamePattern"), + message = "Header name must comply RFC-7230", severity = SeverityLevels.WARNING ), AMFValidation( @@ -892,7 +899,14 @@ object APIRawValidations extends CommonValidationDefinitions { openApiErrorMessage = "'method' for channel binding object must be one of 'GET' or 'POST'" ), AMFValidation( - owlClass = apiBinding("MqttOperationBinding"), + owlClass = apiBinding("MqttOperationBinding010"), + owlProperty = apiBinding("qos"), + constraint = sh("pattern"), + value = "^[0-2]$", + openApiErrorMessage = "'qos' for mqtt operation binding object must be one of 0, 1 or 2" + ), + AMFValidation( + owlClass = apiBinding("MqttOperationBinding020"), owlProperty = apiBinding("qos"), constraint = sh("pattern"), value = "^[0-2]$", @@ -921,7 +935,7 @@ object APIRawValidations extends CommonValidationDefinitions { "'type' for amqp 0.9.1 channel exchange object must be one of 'topic', 'direct', 'fanout', 'default' or 'headers'" ), AMFValidation( - owlClass = apiBinding("HttpOperationBinding"), + owlClass = apiBinding("HttpOperationBinding010"), owlProperty = apiBinding("method"), constraint = sh("in"), value = "GET,POST,PUT,PATCH,DELETE,HEAD,OPTIONS,CONNECT,TRACE", @@ -929,7 +943,15 @@ object APIRawValidations extends CommonValidationDefinitions { "'method' for http operation binding object must be one of 'GET','POST','PUT','PATCH','DELETE','HEAD','OPTIONS','CONNECT','TRACE'" ), AMFValidation( - owlClass = apiBinding("HttpOperationBinding"), + owlClass = apiBinding("HttpOperationBinding020"), + owlProperty = apiBinding("method"), + constraint = sh("in"), + value = "GET,POST,PUT,PATCH,DELETE,HEAD,OPTIONS,CONNECT,TRACE", + openApiErrorMessage = + "'method' for http operation binding object must be one of 'GET','POST','PUT','PATCH','DELETE','HEAD','OPTIONS','CONNECT','TRACE'" + ), + AMFValidation( + owlClass = apiBinding("HttpOperationBinding010"), owlProperty = apiBinding("operationType"), constraint = minCount, value = "1", @@ -940,7 +962,7 @@ object APIRawValidations extends CommonValidationDefinitions { owlProperty = apiBinding("name"), constraint = sh("maxLength"), value = "255", - openApiErrorMessage = "'type' for http operation binding is required" + openApiErrorMessage = "Amqp channel binding name can't be longer than 255 characters" ), AMFValidation( owlClass = apiBinding("Amqp091ChannelExchange010"), @@ -971,7 +993,14 @@ object APIRawValidations extends CommonValidationDefinitions { openApiErrorMessage = "Amqp channel binding name can't be longer than 255 characters" ), AMFValidation( - owlClass = apiBinding("HttpOperationBinding"), + owlClass = apiBinding("HttpOperationBinding010"), + owlProperty = apiBinding("operationType"), + constraint = sh("pattern"), + value = """^(request|response)$""".stripMargin, + openApiErrorMessage = "Http operation binding must be either 'request' or 'response'" + ), + AMFValidation( + owlClass = apiBinding("HttpOperationBinding020"), owlProperty = apiBinding("operationType"), constraint = sh("pattern"), value = """^(request|response)$""".stripMargin, @@ -985,7 +1014,13 @@ object APIRawValidations extends CommonValidationDefinitions { openApiErrorMessage = "Http operation binding must be either 'request' or 'response'" ), AMFValidation( - owlClass = apiBinding("MqttServerBinding"), + owlClass = apiBinding("MqttServerBinding010"), + owlProperty = apiBinding("keepAlive"), + constraint = sh("minInclusive"), + openApiErrorMessage = "'keepAlive' must be greater than 0" + ), + AMFValidation( + owlClass = apiBinding("MqttServerBinding020"), owlProperty = apiBinding("keepAlive"), constraint = sh("minInclusive"), openApiErrorMessage = "'keepAlive' must be greater than 0" @@ -997,6 +1032,13 @@ object APIRawValidations extends CommonValidationDefinitions { value = "^[0-2]$", openApiErrorMessage = "'qos' for mqtt server binding last will object must be one of 0, 1 or 2" ), + AMFValidation( + owlClass = apiBinding("MqttMessageBinding020"), + owlProperty = apiBinding("payloadFormatIndicator"), + constraint = sh("pattern"), + value = "^[0-1]$", + message = "'payloadFormatIndicator' for mqtt message binding must be 0 or 1" + ), AMFValidation( owlClass = apiBinding("Amqp091OperationBinding010"), owlProperty = apiBinding("deliveryMode"), @@ -1040,7 +1082,13 @@ object APIRawValidations extends CommonValidationDefinitions { openApiErrorMessage = "'qos' for mqtt server last will binding object must be one 0, 1 or 2" ), AMFValidation( - owlClass = apiBinding("MqttServerBinding"), + owlClass = apiBinding("MqttServerBinding010"), + owlProperty = apiBinding("expiration"), + constraint = sh("minInclusive"), + openApiErrorMessage = "'expiration' must be greater than 0" + ), + AMFValidation( + owlClass = apiBinding("MqttServerBinding020"), owlProperty = apiBinding("expiration"), constraint = sh("minInclusive"), openApiErrorMessage = "'expiration' must be greater than 0" @@ -1071,13 +1119,25 @@ object APIRawValidations extends CommonValidationDefinitions { ), AMFValidation( message = "'headers' property of ws channel binding must be of type object and have properties", - owlClass = apiBinding("HttpMessageBinding"), + owlClass = apiBinding("HttpMessageBinding020"), + owlProperty = apiBinding("headers"), + constraint = shape("mandatoryHeadersObjectNodeWithPropertiesFacet") + ), + AMFValidation( + message = "'headers' property of ws channel binding must be of type object and have properties", + owlClass = apiBinding("HttpMessageBinding030"), owlProperty = apiBinding("headers"), constraint = shape("mandatoryHeadersObjectNodeWithPropertiesFacet") ), AMFValidation( message = "'headers' property of ws channel binding must be of type object and have properties", - owlClass = apiBinding("HttpOperationBinding"), + owlClass = apiBinding("HttpOperationBinding010"), + owlProperty = apiBinding("query"), + constraint = shape("mandatoryQueryObjectNodeWithPropertiesFacet") + ), + AMFValidation( + message = "'headers' property of ws channel binding must be of type object and have properties", + owlClass = apiBinding("HttpOperationBinding020"), owlProperty = apiBinding("query"), constraint = shape("mandatoryQueryObjectNodeWithPropertiesFacet") ), @@ -1133,25 +1193,125 @@ object APIRawValidations extends CommonValidationDefinitions { ), AMFValidation( message = "Invalid 'destinationType' value. The options are: 'queue' or 'topic'.", - owlClass = apiBinding("SolaceOperationDestination"), + owlClass = apiBinding("SolaceOperationDestination010"), + owlProperty = apiBinding("destinationType"), + constraint = sh("in"), + value = "queue,topic" + ), + AMFValidation( + message = "Invalid 'destinationType' value. The options are: 'queue' or 'topic'.", + owlClass = apiBinding("SolaceOperationDestination020"), owlProperty = apiBinding("destinationType"), constraint = sh("in"), value = "queue,topic" ), AMFValidation( message = "Invalid 'deliveryMode' value. The options are: 'direct' or 'persistent'.", - owlClass = apiBinding("SolaceOperationDestination"), + owlClass = apiBinding("SolaceOperationDestination010"), owlProperty = apiBinding("deliveryMode"), constraint = sh("in"), value = "direct,persistent" ), + AMFValidation( + message = "Invalid 'deliveryMode' value. The options are: 'direct' or 'persistent'.", + owlClass = apiBinding("SolaceOperationDestination020"), + owlProperty = apiBinding("deliveryMode"), + constraint = sh("in"), + value = "direct,persistent" + ), + AMFValidation( + message = "Invalid 'maxMsgSpoolSize' value. It should be a string representing the maximum size of the message spool.", + owlClass = apiBinding("SolaceOperationQueue030"), + owlProperty = apiBinding("maxMsgSpoolSize"), + constraint = sh("datatype"), + value = "xsd:string" + ), + AMFValidation( + message = "Invalid 'maxMsgSpoolSize' value. It should be a string representing the maximum size of the message spool.", + owlClass = apiBinding("SolaceOperationQueue040"), + owlProperty = apiBinding("maxMsgSpoolSize"), + constraint = sh("datatype"), + value = "xsd:string" + ), + AMFValidation( + message = "Invalid 'maxTtl' value. It should be a string representing the maximum time-to-live for messages.", + owlClass = apiBinding("SolaceOperationQueue030"), + owlProperty = apiBinding("maxTtl"), + constraint = sh("datatype"), + value = "xsd:string" + ), AMFValidation( message = "Invalid 'accessType' value. The options are: 'exclusive' or 'nonexclusive'.", - owlClass = apiBinding("SolaceOperationQueue"), + owlClass = apiBinding("SolaceOperationQueue010"), owlProperty = apiBinding("accessType"), constraint = sh("in"), value = "exclusive,nonexclusive" ), + AMFValidation( + message = "Invalid 'accessType' value. The options are: 'exclusive' or 'nonexclusive'.", + owlClass = apiBinding("SolaceOperationQueue040"), + owlProperty = apiBinding("accessType"), + constraint = sh("in"), + value = "exclusive,nonexclusive" + ), + AMFValidation( + message = "Invalid 'maxTtl' value. It should be a string representing the maximum time-to-live for messages.", + owlClass = apiBinding("SolaceOperationQueue040"), + owlProperty = apiBinding("maxTtl"), + constraint = sh("datatype"), + value = "xsd:string" + ), + // Validation for SolaceOperationDestination040 + AMFValidation( + message = "Invalid 'destinationType' value. The options are: 'queue' or 'topic'.", + owlClass = apiBinding("SolaceOperationDestination040"), + owlProperty = apiBinding("destinationType"), + constraint = sh("in"), + value = "queue,topic" + ), + AMFValidation( + message = "Invalid 'deliveryMode' value. The options are: 'direct' or 'persistent'.", + owlClass = apiBinding("SolaceOperationDestination040"), + owlProperty = apiBinding("deliveryMode"), + constraint = sh("in"), + value = "direct,persistent" + ), + // Validation for SolaceOperationBinding040 + AMFValidation( + message = "Invalid 'timeToLive' value. It should be a positive integer or a valid schema reference.", + owlClass = apiBinding("SolaceOperationBinding040"), + owlProperty = apiBinding("timeToLive"), + constraint = sh("datatype"), + value = "xsd:integer" + ), + AMFValidation( + message = "Invalid 'priority' value. The valid range is 0-255.", + owlClass = apiBinding("SolaceOperationBinding040"), + owlProperty = apiBinding("priority"), + constraint = sh("in"), + value = (0 to 255).mkString(",") + ), + AMFValidation( + message = "Invalid 'dmqEligible' value. The options are: 'true' or 'false'.", + owlClass = apiBinding("SolaceOperationBinding040"), + owlProperty = apiBinding("dmqEligible"), + constraint = sh("in"), + value = "true,false" + ), + AMFValidation( + message = "Invalid 'maxMsgSpoolSize' value. Must be a non-negative integer.", + owlClass = apiBinding("SolaceOperationQueue030"), + owlProperty = apiBinding("maxMsgSpoolSize"), + constraint = sh("datatype"), + value = "xsd:integer" + ), + AMFValidation( + message = "Invalid 'maxTtl' value. Must be a non-negative integer.", + owlClass = apiBinding("SolaceOperationQueue030"), + owlProperty = apiBinding("maxTtl"), + constraint = sh("datatype"), + value = "xsd:integer" + ), AMFValidation( message = "Invalid 'destinationType' value. The options are: 'exchange', 'queue' or 'fifo-queue'.", owlClass = apiBinding("AnypointMQChannelBinding"), @@ -1260,6 +1420,13 @@ object APIRawValidations extends CommonValidationDefinitions { owlClass = apiBinding("KafkaChannelBinding050"), owlProperty = apiBinding("replicas"), constraint = shape("KafkaTopicConfigurationValidations") + ), + AMFValidation( + message = "Status code for a Response must be a value between 100 and 599", + owlClass = apiBinding("HttpMessageBinding030"), + owlProperty = apiBinding("statusCode"), + constraint = sh("pattern"), + value = "^([1-5]{1}[0-9]{2})$" ) ) ++ baseApiValidations("AsyncAPI") diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/validation/shacl/APICustomShaclFunctions.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/validation/shacl/APICustomShaclFunctions.scala index 34727368f0..0a0a9c3d19 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/validation/shacl/APICustomShaclFunctions.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/validation/shacl/APICustomShaclFunctions.scala @@ -830,40 +830,44 @@ object APICustomShaclFunctions extends BaseCustomShaclFunctions { override val name: String = "KafkaTopicConfigurationValidations" override def run(element: AmfObject, validate: Option[ValidationInfo] => Unit): Unit = { - val topicConfiguration = element.asInstanceOf[HasTopicConfiguration].topicConfiguration - val cleanupPolicy = topicConfiguration.cleanupPolicy.map(_.value()) - if (cleanupPolicy.nonEmpty && cleanupPolicy.intersect(Seq("delete", "compact")).isEmpty) - validate( - validationInfo( - KafkaTopicConfigurationModel.CleanupPolicy, - "Kafka Topic Configuration 'cleanup.policy' field can only contain 'delete' and/or 'compact'.", - topicConfiguration.annotations - ) - ) - if (topicConfiguration.retentionMs.value() < -1) - validate( - validationInfo( - KafkaTopicConfigurationModel.RetentionMs, - "Kafka Topic Configuration 'retention.ms' field valid values are [-1,...]", - topicConfiguration.annotations - ) - ) - if (topicConfiguration.deleteRetentionMs.value() < 0) - validate( - validationInfo( - KafkaTopicConfigurationModel.DeleteRetentionMs, - "Kafka topic configuration 'delete.retention.ms' field must be a positive number", - topicConfiguration.annotations - ) - ) - if (topicConfiguration.maxMessageBytes.value() < 0) - validate( - validationInfo( - KafkaTopicConfigurationModel.MaxMessageBytes, - "Kafka topic configuration 'max.message.bytes' field must be a positive number", - topicConfiguration.annotations - ) - ) + element match { + case hasTopic: HasTopicConfiguration => + val topicConfiguration = hasTopic.topicConfiguration + val cleanupPolicy = topicConfiguration.cleanupPolicy.map(_.value()) + if (cleanupPolicy.nonEmpty && cleanupPolicy.intersect(Seq("delete", "compact")).isEmpty) + validate( + validationInfo( + KafkaTopicConfigurationModel.CleanupPolicy, + "Kafka Topic Configuration 'cleanup.policy' field can only contain 'delete' and/or 'compact'.", + topicConfiguration.annotations + ) + ) + if (topicConfiguration.retentionMs.value() < -1) + validate( + validationInfo( + KafkaTopicConfigurationModel.RetentionMs, + "Kafka Topic Configuration 'retention.ms' field valid values are [-1,...]", + topicConfiguration.annotations + ) + ) + if (topicConfiguration.deleteRetentionMs.value() < 0) + validate( + validationInfo( + KafkaTopicConfigurationModel.DeleteRetentionMs, + "Kafka topic configuration 'delete.retention.ms' field must be a positive number", + topicConfiguration.annotations + ) + ) + if (topicConfiguration.maxMessageBytes.value() < 0) + validate( + validationInfo( + KafkaTopicConfigurationModel.MaxMessageBytes, + "Kafka topic configuration 'max.message.bytes' field must be a positive number", + topicConfiguration.annotations + ) + ) + case _ => // ignore + } } } ) diff --git a/amf-api-contract/shared/src/test/scala/amf/adopter/DuplicateIdsTest.scala b/amf-api-contract/shared/src/test/scala/amf/adopter/DuplicateIdsTest.scala index 714cb7d028..176ff8b88b 100644 --- a/amf-api-contract/shared/src/test/scala/amf/adopter/DuplicateIdsTest.scala +++ b/amf-api-contract/shared/src/test/scala/amf/adopter/DuplicateIdsTest.scala @@ -61,12 +61,13 @@ class ResolvedModelDuplicateIdsTest extends AsyncFunSuite with DuplicateIdsTest } private def amfConfigFrom(spec: Spec): AMFConfiguration = spec match { - case Spec.OAS30 => OASConfiguration.OAS30() - case Spec.OAS20 => OASConfiguration.OAS20() - case Spec.RAML10 => RAMLConfiguration.RAML10() - case Spec.RAML08 => RAMLConfiguration.RAML08() - case Spec.ASYNC20 => AsyncAPIConfiguration.Async20() - case _ => throw new IllegalArgumentException + case Spec.OAS30 => OASConfiguration.OAS30() + case Spec.OAS20 => OASConfiguration.OAS20() + case Spec.RAML10 => RAMLConfiguration.RAML10() + case Spec.RAML08 => RAMLConfiguration.RAML08() + case Spec.ASYNC20 | Spec.ASYNC21 | Spec.ASYNC22 | Spec.ASYNC23 | Spec.ASYNC24 | Spec.ASYNC25 | Spec.ASYNC26 => + AsyncAPIConfiguration.Async20() + case _ => throw new IllegalArgumentException } } diff --git a/amf-api-contract/shared/src/test/scala/amf/client/model/domain/BindingsTest.scala b/amf-api-contract/shared/src/test/scala/amf/client/model/domain/BindingsTest.scala index 8f2ec1984f..5ad47eb192 100644 --- a/amf-api-contract/shared/src/test/scala/amf/client/model/domain/BindingsTest.scala +++ b/amf-api-contract/shared/src/test/scala/amf/client/model/domain/BindingsTest.scala @@ -5,20 +5,27 @@ import amf.apicontract.client.platform.model.domain.bindings.amqp._ import amf.apicontract.client.platform.model.domain.bindings.http._ import amf.apicontract.client.platform.model.domain.bindings.kafka._ import amf.apicontract.client.platform.model.domain.bindings.mqtt._ +import amf.apicontract.client.platform.model.domain.bindings.solace.{SolaceOperationBinding010, SolaceOperationBinding020, SolaceOperationBinding030, SolaceOperationBinding040, SolaceOperationDestination010, SolaceOperationDestination020, SolaceOperationDestination030, SolaceOperationQueue, SolaceOperationQueue010, SolaceOperationQueue030, SolaceOperationTopic} +import amf.apicontract.client.scala.model.domain.bindings.solace.{SolaceOperationDestination010 => InternalSolaceOperationDestination010, SolaceOperationDestination020 => InternalSolaceOperationDestination020, SolaceOperationDestination030 => InternalSolaceOperationDestination030, SolaceOperationDestination040 => InternalSolaceOperationDestination040} import amf.apicontract.client.platform.model.domain.bindings.websockets._ +import amf.apicontract.client.platform.model.domain.bindings.googlepubsub._ import amf.apicontract.client.scala.APIConfiguration import amf.apicontract.internal.convert.ApiClientConverters._ +import amf.core.client.platform.model.domain.ObjectNode import amf.shapes.client.platform.model.domain.AnyShape import org.scalatest.BeforeAndAfterAll import org.scalatest.funsuite.AnyFunSuite import org.scalatest.matchers.should.Matchers +import scala.collection.convert.ImplicitConversions.`collection AsScalaIterable` + class BindingsTest extends AnyFunSuite with Matchers with BeforeAndAfterAll { val s = "test string" val stringSeq = Seq(s) val clientStringList: ClientList[String] = stringSeq.asClient val shape = new AnyShape() + val node = new ObjectNode() override protected def beforeAll(): Unit = { APIConfiguration.API() // TODO: ARM remove after wrappers are deleted @@ -171,21 +178,35 @@ class BindingsTest extends AnyFunSuite with Matchers with BeforeAndAfterAll { } test("test HttpMessageBinding") { - val binding = new HttpMessageBinding() + val binding020 = new HttpMessageBinding020() .withBindingVersion(s) .withHeaders(shape) - binding.headers._internal shouldBe shape._internal + binding020.headers._internal shouldBe shape._internal + + val binding030 = new HttpMessageBinding030() + .withBindingVersion(s) + .withHeaders(shape) + .withStatusCode(123) + binding030.headers._internal shouldBe shape._internal + binding030.statusCode.value() shouldBe 123 } test("test HttpOperationBinding") { - val binding = new HttpOperationBinding() + val binding01 = new HttpOperationBinding010() .withBindingVersion(s) .withMethod(s) .withQuery(shape) .withOperationType(s) - binding.method.value() shouldBe s - binding.operationType.value() shouldBe s - binding.query._internal shouldBe shape._internal + binding01.method.value() shouldBe s + binding01.operationType.value() shouldBe s + binding01.query._internal shouldBe shape._internal + + val binding02 = new HttpOperationBinding020() + .withBindingVersion(s) + .withMethod(s) + .withQuery(shape) + binding02.method.value() shouldBe s + binding02.query._internal shouldBe shape._internal } test("test KafkaMessageBinding") { @@ -290,6 +311,69 @@ class BindingsTest extends AnyFunSuite with Matchers with BeforeAndAfterAll { binding050.topicConfiguration._internal shouldBe topicConfiguration050._internal } + test("GooglePubSubChannelBinding") { + val messageStoragePolicy = new GooglePubSubMessageStoragePolicy() + .withAllowedPersistenceRegions(stringSeq.asClient) + + val schemaSettings = new GooglePubSubSchemaSettings() + .withName(s) + .withEncoding(s) + .withFirstRevisionId(s) + .withLastRevisionId(s) + + val binding010 = new GooglePubSubChannelBinding010() + .withBindingVersion(s) + .withMessageRetentionDuration(s) + .withMessageStoragePolicy(messageStoragePolicy) + .withSchemaSettings(schemaSettings) + .withTopic(s) + + binding010.messageRetentionDuration.value() shouldBe s + binding010.messageStoragePolicy._internal shouldBe messageStoragePolicy._internal + binding010.schemaSettings._internal shouldBe schemaSettings._internal + binding010.topic.value() shouldBe s + + val binding020 = new GooglePubSubChannelBinding020() + .withBindingVersion(s) + .withMessageRetentionDuration(s) + .withMessageStoragePolicy(messageStoragePolicy) + .withSchemaSettings(schemaSettings) + + binding020.messageRetentionDuration.value() shouldBe s + binding020.messageStoragePolicy._internal shouldBe messageStoragePolicy._internal + binding020.schemaSettings._internal shouldBe schemaSettings._internal + } + + test("test GooglePubSubMessageBinding") { + val schema010 = new GooglePubSubSchemaDefinition010() + .withName(s) + .withFieldType(s) + schema010.name.value() shouldBe s + schema010.fieldType.value() shouldBe s + + val binding010 = new GooglePubSubMessageBinding010() + .withBindingVersion(s) + .withOrderingKey(s) + .withAttributes(node) + .withSchema(schema010) + binding010.orderingKey.value() shouldBe s + binding010.attributes._internal shouldBe node._internal + binding010.schema._internal shouldBe schema010._internal + + val schema020 = new GooglePubSubSchemaDefinition020() + .withName(s) + schema020.name.value() shouldBe s + + val binding020 = new GooglePubSubMessageBinding020() + .withBindingVersion(s) + .withOrderingKey(s) + .withAttributes(node) + .withSchema(schema020) + binding020.orderingKey.value() shouldBe s + binding020.attributes._internal shouldBe node._internal + binding020.schema._internal shouldBe schema020._internal + } + test("test MessageBindings") { val bindings: Seq[amf.apicontract.client.scala.model.domain.bindings.MessageBinding] = Seq(new Amqp091MessageBinding()._internal) @@ -302,35 +386,86 @@ class BindingsTest extends AnyFunSuite with Matchers with BeforeAndAfterAll { } test("test MqttMessageBinding") { - val binding = new MqttMessageBinding() + val binding010 = new MqttMessageBinding010() .withBindingVersion(s) - binding._internal.componentId shouldBe "/mqtt-message" + binding010._internal.componentId shouldBe "/mqtt-message-010" + + val binding020 = new MqttMessageBinding020() + .withBindingVersion(s) + .withPayloadFormatIndicator(123) + .withContentType(s) + .withCorrelationData(shape) + .withResponseTopic(s) + .withResponseTopicSchema(shape) + binding020._internal.componentId shouldBe "/mqtt-message-020" + binding020.payloadFormatIndicator.value() shouldBe 123 + binding020.contentType.value() shouldBe s + binding020.correlationData._internal shouldBe shape._internal + binding020.responseTopic.value() shouldBe s + binding020.responseTopicSchema._internal shouldBe shape._internal } test("test MqttOperationBinding") { - val mqttOperationBinding = new MqttOperationBinding() + val binding010 = new MqttOperationBinding010() .withQos(2) .withRetain(true) - mqttOperationBinding.qos.value() shouldBe 2 - mqttOperationBinding.retain.value() shouldBe true + binding010.qos.value() shouldBe 2 + binding010.retain.value() shouldBe true + + val binding020 = new MqttOperationBinding020() + .withQos(2) + .withRetain(true) + .withMessageExpiryInterval(123) + .withMessageExpiryIntervalSchema(shape) + binding020.qos.value() shouldBe 2 + binding020.retain.value() shouldBe true + binding020.messageExpiryInterval.value() shouldBe 123 + binding020.messageExpiryIntervalSchema._internal shouldBe shape._internal } test("test MqttServerBinding") { val mqttServerLastWill = new MqttServerLastWill() - val mqttServerBinding = new MqttServerBinding() + .withTopic(s) + .withQos(123) + .withRetain(true) + .withMessage(s) + mqttServerLastWill.topic.value() shouldBe s + mqttServerLastWill.qos.value() shouldBe 123 + mqttServerLastWill.retain.value() shouldBe true + mqttServerLastWill.message.value() shouldBe s + + val mqttServerBinding010 = new MqttServerBinding010() .withClientId(s) .withCleanSession(true) .withLastWill(mqttServerLastWill) .withKeepAlive(2) - mqttServerBinding.clientId.value() shouldBe s - mqttServerBinding.cleanSession.value() shouldBe true - mqttServerBinding.lastWill shouldBe mqttServerLastWill - mqttServerBinding.keepAlive.value() shouldBe 2 + mqttServerBinding010.clientId.value() shouldBe s + mqttServerBinding010.cleanSession.value() shouldBe true + mqttServerBinding010.lastWill shouldBe mqttServerLastWill + mqttServerBinding010.keepAlive.value() shouldBe 2 + + val mqttServerBinding020 = new MqttServerBinding020() + .withClientId(s) + .withCleanSession(true) + .withLastWill(mqttServerLastWill) + .withKeepAlive(2) + .withSessionExpiryInterval(123) + .withMaximumPacketSize(123) + .withSessionExpiryIntervalSchema(shape) + .withMaximumPacketSizeSchema(shape) + mqttServerBinding020.clientId.value() shouldBe s + mqttServerBinding020.cleanSession.value() shouldBe true + mqttServerBinding020.lastWill shouldBe mqttServerLastWill + mqttServerBinding020.keepAlive.value() shouldBe 2 + mqttServerBinding020.sessionExpiryInterval.value() shouldBe 123 + mqttServerBinding020.maximumPacketSize.value() shouldBe 123 + mqttServerBinding020.sessionExpiryIntervalSchema._internal shouldBe shape._internal + mqttServerBinding020.maximumPacketSizeSchema._internal shouldBe shape._internal } test("test OperationBindings") { val OperationBindings: Seq[amf.apicontract.client.scala.model.domain.bindings.OperationBinding] = - Seq(new MqttOperationBinding()._internal) + Seq(new MqttOperationBinding010()._internal) val clientOperationBindings = OperationBindings.asClient val operationBindings = new OperationBindings() .withName(s) @@ -341,7 +476,7 @@ class BindingsTest extends AnyFunSuite with Matchers with BeforeAndAfterAll { test("test ServerBindings") { val internalServerBindings: Seq[amf.apicontract.client.scala.model.domain.bindings.ServerBinding] = - Seq(new MqttServerBinding()._internal) + Seq(new MqttServerBinding010()._internal) val clientServerBindings: ClientList[ServerBinding] = internalServerBindings.asClient val serverBindings = new ServerBindings() .withName(s) @@ -362,4 +497,160 @@ class BindingsTest extends AnyFunSuite with Matchers with BeforeAndAfterAll { binding.query._internal shouldBe shape._internal binding.`type`.value() shouldBe s } + + test("test SolaceOperationDestination010") { + val destination010 = new SolaceOperationDestination010() + .withDestinationType("queue") + .withDeliveryMode("persistent") + .withQueue(new SolaceOperationQueue010().withAccessType("exclusive")._internal) + + destination010.destinationType.value() shouldBe "queue" + destination010.deliveryMode.value() shouldBe "persistent" + destination010.queue.accessType.value() shouldBe "exclusive" + } + + test("test SolaceOperationDestination020") { + val destination020 = new SolaceOperationDestination020() + .withDestinationType("topic") + .withDeliveryMode("persistent") + .withQueue(new SolaceOperationQueue010().withAccessType("nonexclusive")._internal) + .withTopic(new SolaceOperationTopic().withTopicSubscriptions(Seq("topic1", "topic2").asClient)) + + destination020.destinationType.value() shouldBe "topic" + destination020.deliveryMode.value() shouldBe "persistent" + destination020.queue.accessType.value() shouldBe "nonexclusive" + destination020._internal.topic.topicSubscriptions.map(_.value()).toSeq.intersect(Seq("topic1", "topic2")).nonEmpty shouldBe true + } + + test("test SolaceOperationDestination030") { + val destination030 = new SolaceOperationDestination030() + .withDestinationType("topic") + .withDeliveryMode("persistent") + .withQueue(new SolaceOperationQueue030() + .withAccessType("exclusive") + .withMaxMsgSpoolSize("1024") + .withMaxTtl("60000")._internal) + .withTopic(new SolaceOperationTopic().withTopicSubscriptions(Seq("topic1", "topic2").asClient)) + + destination030.destinationType.value() shouldBe "topic" + destination030.deliveryMode.value() shouldBe "persistent" + destination030.queue.accessType.value() shouldBe "exclusive" + destination030.queue.maxMsgSpoolSize.value() shouldBe "1024" + destination030.queue.maxTtl.value() shouldBe "60000" + destination030.topic.topicSubscriptions.map(_.value()).toSeq.intersect(Seq("topic1", "topic2")).nonEmpty shouldBe true + } + + test("test SolaceOperationBinding010") { + val queue = new SolaceOperationQueue010() + .withName("queueName") + .withAccessType("exclusive") + .withTopicSubscriptions(Seq("subscription1", "subscription2").asClient) + + val destination010 = InternalSolaceOperationDestination010() + .withDestinationType("queue") + .withDeliveryMode("persistent") + .withQueue(queue) + + val binding010 = new SolaceOperationBinding010() + .withDestinations(Seq(destination010).asClient) + + binding010.destinations.head.destinationType.value() shouldBe "queue" + binding010.destinations.head.deliveryMode.value() shouldBe "persistent" + binding010.destinations.head.queue.accessType.value() shouldBe "exclusive" + binding010.destinations.head.queue.name.value() shouldBe "queueName" + binding010.destinations.head.queue.topicSubscriptions.map(_.value()).toSeq.intersect(Seq("subscription1", "subscription2")).nonEmpty shouldBe true + } + + test("test SolaceOperationBinding020") { + val queue = new SolaceOperationQueue010() + .withName("queueName") + .withAccessType("exclusive") + .withTopicSubscriptions(Seq("subscription1", "subscription2").asClient) + + val topic = new SolaceOperationTopic() + .withTopicSubscriptions(Seq("topic1", "topic2").asClient) + + val destination020 = InternalSolaceOperationDestination020() + .withDestinationType("topic") + .withDeliveryMode("persistent") + .withQueue(queue) + .withTopic(topic) + + val binding020 = new SolaceOperationBinding020() + .withDestinations(Seq(destination020).asClient) + + binding020.destinations.head.destinationType.value() shouldBe "topic" + binding020.destinations.head.deliveryMode.value() shouldBe "persistent" + binding020.destinations.head.queue.accessType.value() shouldBe "exclusive" + binding020.destinations.head.queue.name.value() shouldBe "queueName" + binding020.destinations.head.queue.topicSubscriptions.map(_.value()).toSeq.intersect(Seq("subscription1", "subscription2")).nonEmpty shouldBe true + binding020.destinations.head.topic.topicSubscriptions.map(_.value()).toSeq.intersect(Seq("topic1", "topic2")).nonEmpty shouldBe true + } + + test("test SolaceOperationBinding030") { + val queue = new SolaceOperationQueue030() + .withName("queueName") + .withAccessType("exclusive") + .withTopicSubscriptions(Seq("subscription1", "subscription2").asClient) + .withMaxMsgSpoolSize("1024") + .withMaxTtl("60000") + + val topic = new SolaceOperationTopic() + .withTopicSubscriptions(Seq("topic1", "topic2").asClient) + + val destination030 = InternalSolaceOperationDestination030() + .withDestinationType("topic") + .withDeliveryMode("persistent") + .withQueue(queue) + .withTopic(topic) + + val binding030 = new SolaceOperationBinding030() + .withDestinations(Seq(destination030).asClient) + + binding030.destinations.head.destinationType.value() shouldBe "topic" + binding030.destinations.head.deliveryMode.value() shouldBe "persistent" + binding030.destinations.head.queue.accessType.value() shouldBe "exclusive" + binding030.destinations.head.queue.name.value() shouldBe "queueName" + binding030.destinations.head.queue.topicSubscriptions.map(_.value()).toSeq.intersect(Seq("subscription1", "subscription2")).nonEmpty shouldBe true + binding030.destinations.head.queue.maxMsgSpoolSize.value() shouldBe "1024" + binding030.destinations.head.queue.maxTtl.value() shouldBe "60000" + binding030.destinations.head.topic.topicSubscriptions.map(_.value()).toSeq.intersect(Seq("topic1", "topic2")).nonEmpty shouldBe true + } + test("test SolaceOperationBinding040") { + val queue = new SolaceOperationQueue030() + .withName("queueName") + .withAccessType("exclusive") + .withTopicSubscriptions(Seq("subscription1", "subscription2").asClient) + .withMaxMsgSpoolSize("1024") + .withMaxTtl("60000") + + val topic = new SolaceOperationTopic() + .withTopicSubscriptions(Seq("topic1", "topic2").asClient) + + val destination040 = InternalSolaceOperationDestination040() + .withDestinationType("topic") + .withDeliveryMode("persistent") + .withQueue(queue) + .withTopic(topic) + .withBindingVersion("0.4.0") + + val binding040 = new SolaceOperationBinding040() + .withDestinations(Seq(destination040).asClient) + .withTimeToLive(60000) + .withPriority(1) + .withDmqEligible(true) + + binding040.destinations.head.destinationType.value() shouldBe "topic" + binding040.destinations.head.deliveryMode.value() shouldBe "persistent" + binding040.destinations.head.queue.accessType.value() shouldBe "exclusive" + binding040.destinations.head.queue.name.value() shouldBe "queueName" + binding040.destinations.head.queue.topicSubscriptions.map(_.value()).toSeq.intersect(Seq("subscription1", "subscription2")).nonEmpty shouldBe true + binding040.destinations.head.queue.maxMsgSpoolSize.value() shouldBe "1024" + binding040.destinations.head.queue.maxTtl.value() shouldBe "60000" + binding040.destinations.head.topic.topicSubscriptions.map(_.value()).toSeq.intersect(Seq("topic1", "topic2")).nonEmpty shouldBe true + binding040.timeToLive.value() shouldBe 60000 + binding040.priority.value() shouldBe 1 + binding040.dmqEligible.value() shouldBe true + } + } diff --git a/amf-apicontract.versions b/amf-apicontract.versions index 96df1f57de..a9b9d5a679 100644 --- a/amf-apicontract.versions +++ b/amf-apicontract.versions @@ -1,5 +1,5 @@ -amf.apicontract=5.5.1 -amf.aml=6.5.1 +amf.apicontract=5.5.2 +amf.aml=6.5.2 amf.model=3.9.0 antlr4Version=0.7.25 amf.validation.profile.dialect=1.6.0 diff --git a/amf-cli/js/typings/amf-client-js.d.ts b/amf-cli/js/typings/amf-client-js.d.ts index a639576bc0..e519d2c0a0 100644 --- a/amf-cli/js/typings/amf-client-js.d.ts +++ b/amf-cli/js/typings/amf-client-js.d.ts @@ -3597,7 +3597,41 @@ declare module "amf-client-js" { withUsage(usage: string): this; } export class GooglePubSubChannelBinding implements ChannelBinding { + labels: ObjectNode; + messageRetentionDuration: StrField; + messageStoragePolicy: GooglePubSubMessageStoragePolicy; + schemaSettings: GooglePubSubSchemaSettings; + bindingVersion: StrField; + + withLabels(labels: ObjectNode): this; + withMessageRetentionDuration(messageRetentionDuration: string): this; + withMessageStoragePolicy(messageStoragePolicy: GooglePubSubMessageStoragePolicy): this; + withSchemaSettings(schemaSettings: GooglePubSubSchemaSettings): this; + withBindingVersion(bindingVersion: string): this; + + customDomainProperties: Array; + extendsNode: Array; + id: string; + isExternalLink: BoolField; + isLink: boolean; + linkLabel: StrField; + linkTarget: DomainElement | undefined; + position: Range; + annotations(): Annotations; + graph(): Graph; + link(): T; + link(label: string): T; + linkCopy(): Linkable; + withCustomDomainProperties(extensions: Array): this; + withCustomDomainProperties(extensions: Array): this; + withExtendsNode(extension: Array): this; + withId(id: string): this; + withIsExternalLink(isExternalLink: boolean): DomainElement; + withLinkLabel(label: string): this; + withLinkTarget(target: undefined): this; + } + export class GooglePubSubChannelBinding010 implements GooglePubSubChannelBinding { labels: ObjectNode; messageRetentionDuration: StrField; messageStoragePolicy: GooglePubSubMessageStoragePolicy; @@ -3634,6 +3668,41 @@ declare module "amf-client-js" { withLinkLabel(label: string): this; withLinkTarget(target: undefined): this; } + export class GooglePubSubChannelBinding020 implements GooglePubSubChannelBinding { + labels: ObjectNode; + messageRetentionDuration: StrField; + messageStoragePolicy: GooglePubSubMessageStoragePolicy; + schemaSettings: GooglePubSubSchemaSettings; + bindingVersion: StrField; + + withLabels(labels: ObjectNode): this; + withMessageRetentionDuration(messageRetentionDuration: string): this; + withMessageStoragePolicy(messageStoragePolicy: GooglePubSubMessageStoragePolicy): this; + withSchemaSettings(schemaSettings: GooglePubSubSchemaSettings): this; + withBindingVersion(bindingVersion: string): this; + + customDomainProperties: Array; + extendsNode: Array; + id: string; + isExternalLink: BoolField; + isLink: boolean; + linkLabel: StrField; + linkTarget: DomainElement | undefined; + position: Range; + + annotations(): Annotations; + graph(): Graph; + link(): T; + link(label: string): T; + linkCopy(): Linkable; + withCustomDomainProperties(extensions: Array): this; + withCustomDomainProperties(extensions: Array): this; + withExtendsNode(extension: Array): this; + withId(id: string): this; + withIsExternalLink(isExternalLink: boolean): DomainElement; + withLinkLabel(label: string): this; + withLinkTarget(target: undefined): this; + } export class GooglePubSubMessageStoragePolicy implements DomainElement { allowedPersistenceRegions: Array; @@ -3681,7 +3750,6 @@ declare module "amf-client-js" { withIsExternalLink(isExternalLink: boolean): DomainElement; } export class GooglePubSubMessageBinding implements MessageBinding { - attributes: ObjectNode; orderingKey: StrField; schema: GooglePubSubSchemaDefinition; @@ -3712,8 +3780,87 @@ declare module "amf-client-js" { withLinkLabel(label: string): this; withLinkTarget(target: undefined): this; } + export class GooglePubSubMessageBinding010 implements GooglePubSubMessageBinding { + attributes: ObjectNode; + orderingKey: StrField; + schema: GooglePubSubSchemaDefinition010; + + withAttributes(attributes: ObjectNode): this; + withOrderingKey(orderingKey: string): this; + withSchema(schema: GooglePubSubSchemaDefinition010): this; + + customDomainProperties: Array; + extendsNode: Array; + id: string; + isExternalLink: BoolField; + isLink: boolean; + linkLabel: StrField; + linkTarget: DomainElement | undefined; + position: Range; + + annotations(): Annotations; + graph(): Graph; + link(): T; + link(label: string): T; + linkCopy(): Linkable; + withCustomDomainProperties(extensions: Array): this; + withCustomDomainProperties(extensions: Array): this; + withExtendsNode(extension: Array): this; + withId(id: string): this; + withIsExternalLink(isExternalLink: boolean): DomainElement; + withLinkLabel(label: string): this; + withLinkTarget(target: undefined): this; + } + export class GooglePubSubMessageBinding020 implements GooglePubSubMessageBinding { + attributes: ObjectNode; + orderingKey: StrField; + schema: GooglePubSubSchemaDefinition020; + + withAttributes(attributes: ObjectNode): this; + withOrderingKey(orderingKey: string): this; + withSchema(schema: GooglePubSubSchemaDefinition020): this; + + customDomainProperties: Array; + extendsNode: Array; + id: string; + isExternalLink: BoolField; + isLink: boolean; + linkLabel: StrField; + linkTarget: DomainElement | undefined; + position: Range; + + annotations(): Annotations; + graph(): Graph; + link(): T; + link(label: string): T; + linkCopy(): Linkable; + withCustomDomainProperties(extensions: Array): this; + withCustomDomainProperties(extensions: Array): this; + withExtendsNode(extension: Array): this; + withId(id: string): this; + withIsExternalLink(isExternalLink: boolean): DomainElement; + withLinkLabel(label: string): this; + withLinkTarget(target: undefined): this; + } export class GooglePubSubSchemaDefinition implements DomainElement { + name: StrField; + withName(name: string): this; + + customDomainProperties: Array; + extendsNode: Array; + id: string; + isExternalLink: BoolField; + position: Range; + annotations(): Annotations; + graph(): Graph; + withCustomDomainProperties(extensions: Array): this; + withCustomDomainProperties(extensions: Array): this; + withExtendsNode(extension: Array): this; + withId(id: string): this; + withIsExternalLink(isExternalLink: boolean): DomainElement; + } + export class GooglePubSubSchemaDefinition010 implements GooglePubSubSchemaDefinition { name: StrField; fieldType: StrField; @@ -3734,6 +3881,24 @@ declare module "amf-client-js" { withId(id: string): this; withIsExternalLink(isExternalLink: boolean): DomainElement; } + export class GooglePubSubSchemaDefinition020 implements GooglePubSubSchemaDefinition { + name: StrField; + withName(name: string): this; + + customDomainProperties: Array; + extendsNode: Array; + id: string; + isExternalLink: BoolField; + position: Range; + + annotations(): Annotations; + graph(): Graph; + withCustomDomainProperties(extensions: Array): this; + withCustomDomainProperties(extensions: Array): this; + withExtendsNode(extension: Array): this; + withId(id: string): this; + withIsExternalLink(isExternalLink: boolean): DomainElement; + } export class Graph { containsProperty(uri: string): boolean; @@ -3810,18 +3975,16 @@ declare module "amf-client-js" { withLinkTarget(target: undefined): this; } - export class HttpOperationBinding implements OperationBinding { + export class HttpMessageBinding020 implements HttpMessageBinding { customDomainProperties: Array; extendsNode: Array; + headers: Shape; id: string; isExternalLink: BoolField; isLink: boolean; linkLabel: StrField; linkTarget: undefined | DomainElement; - method: StrField; - operationType: StrField; position: Range; - query: Shape; constructor(); @@ -3833,7 +3996,7 @@ declare module "amf-client-js" { link(): T; - linkCopy(): HttpOperationBinding; + linkCopy(): HttpMessageBinding; withBindingVersion(bindingVersion: string): this; @@ -3841,6 +4004,8 @@ declare module "amf-client-js" { withExtendsNode(extension: Array): this; + withHeaders(headers: Shape): this; + withId(id: string): this; withIsExternalLink(isExternalLink: boolean): DomainElement; @@ -3848,74 +4013,239 @@ declare module "amf-client-js" { withLinkLabel(label: string): this; withLinkTarget(target: undefined): this; + } + export class HttpMessageBinding030 implements HttpMessageBinding { + customDomainProperties: Array; + extendsNode: Array; + headers: Shape; + id: string; + isExternalLink: BoolField; + isLink: boolean; + linkLabel: StrField; + linkTarget: undefined | DomainElement; + position: Range; + statusCode: number; - withMethod(method: string): this; + constructor(); - withOperationType(type: string): this; + annotations(): Annotations; - withQuery(query: Shape): this; - } - export class HttpSettings extends Settings { - bearerFormat: StrField; - scheme: StrField; + graph(): Graph; - constructor(); + link(label: string): T; - withBearerFormat(bearerFormat: string): this; + link(): T; - withScheme(scheme: string): this; - } - export class IBMMQChannelBinding implements ChannelBinding { - destinationType: StrField; - queue: IBMMQChannelQueue; - topic: IBMMQChannelTopic; - maxMsgLength: IntField; - bindingVersion: StrField; + linkCopy(): HttpMessageBinding; - withDestinationType(destinationType: string): this; - withQueue(queue: IBMMQChannelQueue): this; - withTopic(topic: IBMMQChannelTopic): this; - withMaxMsgLength(maxMsgLength: number): this; withBindingVersion(bindingVersion: string): this; + withCustomDomainProperties(extensions: Array): this; + + withExtendsNode(extension: Array): this; + + withHeaders(headers: Shape): this; + + withId(id: string): this; + + withIsExternalLink(isExternalLink: boolean): DomainElement; + + withLinkLabel(label: string): this; + + withLinkTarget(target: undefined): this; + + withStatusCode(statusCode: number): this; + } + export class HttpOperationBinding implements OperationBinding { customDomainProperties: Array; extendsNode: Array; id: string; isExternalLink: BoolField; isLink: boolean; linkLabel: StrField; - linkTarget: DomainElement | undefined; + linkTarget: undefined | DomainElement; + method: StrField; position: Range; + query: Shape; + + constructor(); annotations(): Annotations; + graph(): Graph; - link(): T; + link(label: string): T; - linkCopy(): Linkable; + + link(): T; + + linkCopy(): HttpOperationBinding; + + withBindingVersion(bindingVersion: string): this; + withCustomDomainProperties(extensions: Array): this; + withExtendsNode(extension: Array): this; + withId(id: string): this; + withIsExternalLink(isExternalLink: boolean): DomainElement; + withLinkLabel(label: string): this; - withLinkTarget(target: undefined): this; - } - export class IBMMQChannelQueue implements DomainElement { - objectName: StrField; - isPartitioned: BoolField; - exclusive: BoolField; - name: StrField; + withLinkTarget(target: undefined): this; - withObjectName(objectName: string): this; - withIsPartitioned(isPartitioned: boolean): this; - withExclusive(exclusive: boolean): this; - withName(name: string): this; + withMethod(method: string): this; + withQuery(query: Shape): this; + } + export class HttpOperationBinding010 implements HttpOperationBinding { customDomainProperties: Array; extendsNode: Array; id: string; isExternalLink: BoolField; - position: Range; + isLink: boolean; + linkLabel: StrField; + linkTarget: undefined | DomainElement; + method: StrField; + operationType: StrField; + position: Range; + query: Shape; + + constructor(); + + annotations(): Annotations; + + graph(): Graph; + + link(label: string): T; + + link(): T; + + linkCopy(): HttpOperationBinding010; + + withBindingVersion(bindingVersion: string): this; + + withCustomDomainProperties(extensions: Array): this; + + withExtendsNode(extension: Array): this; + + withId(id: string): this; + + withIsExternalLink(isExternalLink: boolean): DomainElement; + + withLinkLabel(label: string): this; + + withLinkTarget(target: undefined): this; + + withMethod(method: string): this; + + withOperationType(type: string): this; + + withQuery(query: Shape): this; + } + export class HttpOperationBinding020 implements HttpOperationBinding { + customDomainProperties: Array; + extendsNode: Array; + id: string; + isExternalLink: BoolField; + isLink: boolean; + linkLabel: StrField; + linkTarget: undefined | DomainElement; + method: StrField; + position: Range; + query: Shape; + + constructor(); + + annotations(): Annotations; + + graph(): Graph; + + link(label: string): T; + + link(): T; + + linkCopy(): HttpOperationBinding020; + + withBindingVersion(bindingVersion: string): this; + + withCustomDomainProperties(extensions: Array): this; + + withExtendsNode(extension: Array): this; + + withId(id: string): this; + + withIsExternalLink(isExternalLink: boolean): DomainElement; + + withLinkLabel(label: string): this; + + withLinkTarget(target: undefined): this; + + withMethod(method: string): this; + + withQuery(query: Shape): this; + } + export class HttpSettings extends Settings { + bearerFormat: StrField; + scheme: StrField; + + constructor(); + + withBearerFormat(bearerFormat: string): this; + + withScheme(scheme: string): this; + } + export class IBMMQChannelBinding implements ChannelBinding { + destinationType: StrField; + queue: IBMMQChannelQueue; + topic: IBMMQChannelTopic; + maxMsgLength: IntField; + bindingVersion: StrField; + + withDestinationType(destinationType: string): this; + withQueue(queue: IBMMQChannelQueue): this; + withTopic(topic: IBMMQChannelTopic): this; + withMaxMsgLength(maxMsgLength: number): this; + withBindingVersion(bindingVersion: string): this; + + customDomainProperties: Array; + extendsNode: Array; + id: string; + isExternalLink: BoolField; + isLink: boolean; + linkLabel: StrField; + linkTarget: DomainElement | undefined; + position: Range; + + annotations(): Annotations; + graph(): Graph; + link(): T; + link(label: string): T; + linkCopy(): Linkable; + withCustomDomainProperties(extensions: Array): this; + withExtendsNode(extension: Array): this; + withId(id: string): this; + withIsExternalLink(isExternalLink: boolean): DomainElement; + withLinkLabel(label: string): this; + withLinkTarget(target: undefined): this; + } + export class IBMMQChannelQueue implements DomainElement { + + objectName: StrField; + isPartitioned: BoolField; + exclusive: BoolField; + name: StrField; + + withObjectName(objectName: string): this; + withIsPartitioned(isPartitioned: boolean): this; + withExclusive(exclusive: boolean): this; + withName(name: string): this; + + customDomainProperties: Array; + extendsNode: Array; + id: string; + isExternalLink: BoolField; + position: Range; annotations(): Annotations; graph(): Graph; @@ -5158,7 +5488,7 @@ declare module "amf-client-js" { withLinkTarget(target: undefined): this; } - export class MqttOperationBinding implements OperationBinding { + export class MqttMessageBinding010 implements MqttMessageBinding { customDomainProperties: Array; extendsNode: Array; id: string; @@ -5167,8 +5497,6 @@ declare module "amf-client-js" { linkLabel: StrField; linkTarget: undefined | DomainElement; position: Range; - qos: IntField; - retain: BoolField; constructor(); @@ -5180,7 +5508,7 @@ declare module "amf-client-js" { link(): T; - linkCopy(): MqttOperationBinding; + linkCopy(): MqttMessageBinding; withBindingVersion(bindingVersion: string): this; @@ -5195,24 +5523,21 @@ declare module "amf-client-js" { withLinkLabel(label: string): this; withLinkTarget(target: undefined): this; - - withQos(qos: number): this; - - withRetain(retain: boolean): this; } - export class MqttServerBinding implements ServerBinding { - cleanSession: BoolField; - clientId: StrField; + export class MqttMessageBinding020 implements MqttMessageBinding { customDomainProperties: Array; extendsNode: Array; id: string; isExternalLink: BoolField; isLink: boolean; - keepAlive: IntField; - lastWill: MqttServerLastWill; linkLabel: StrField; linkTarget: undefined | DomainElement; position: Range; + payloadFormatIndicator: IntField; + correlationData: Shape; + contentType: StrField; + responseTopic: StrField; + responseTopicSchema: Shape; constructor(); @@ -5224,14 +5549,10 @@ declare module "amf-client-js" { link(): T; - linkCopy(): MqttServerBinding; + linkCopy(): MqttMessageBinding; withBindingVersion(bindingVersion: string): this; - withCleanSession(cleanSession: boolean): this; - - withClientId(clientId: string): this; - withCustomDomainProperties(extensions: Array): this; withExtendsNode(extension: Array): this; @@ -5240,24 +5561,31 @@ declare module "amf-client-js" { withIsExternalLink(isExternalLink: boolean): DomainElement; - withKeepAlive(keepAlive: number): this; - - withLastWill(lastWill: MqttServerLastWill): this; - withLinkLabel(label: string): this; withLinkTarget(target: undefined): this; + + withPayloadFormatIndicator(payloadFormatIndicator: number): this; + + withCorrelationData(correlationData: Shape): this; + + withContentType(contentType: string): this; + + withResponseTopic(responseTopic: string): this; + + withResponseTopicSchema(responseTopicSchema: Shape): this; } - export class MqttServerLastWill implements DomainElement { + export class MqttOperationBinding implements OperationBinding { customDomainProperties: Array; extendsNode: Array; id: string; isExternalLink: BoolField; - message: StrField; + isLink: boolean; + linkLabel: StrField; + linkTarget: undefined | DomainElement; position: Range; qos: IntField; retain: BoolField; - topic: StrField; constructor(); @@ -5265,6 +5593,14 @@ declare module "amf-client-js" { graph(): Graph; + link(label: string): T; + + link(): T; + + linkCopy(): MqttOperationBinding; + + withBindingVersion(bindingVersion: string): this; + withCustomDomainProperties(extensions: Array): this; withExtendsNode(extension: Array): this; @@ -5273,170 +5609,217 @@ declare module "amf-client-js" { withIsExternalLink(isExternalLink: boolean): DomainElement; - withMessage(message: string): this; + withLinkLabel(label: string): this; + + withLinkTarget(target: undefined): this; withQos(qos: number): this; withRetain(retain: boolean): this; - - withTopic(topic: string): this; } - export class NamedExample extends Fragment { - constructor(); - } - export class NilShape extends AnyShape { - constructor(); - - linkCopy(): NilShape; - } - export class NodeMapping extends AnyMapping implements Linkable { - closed: BoolField; - idTemplate: StrField; + export class MqttOperationBinding010 implements MqttOperationBinding { + customDomainProperties: Array; + extendsNode: Array; + id: string; + isExternalLink: BoolField; isLink: boolean; linkLabel: StrField; linkTarget: undefined | DomainElement; - mergePolicy: StrField; - name: StrField; - nodetypeMapping: StrField; + position: Range; + qos: IntField; + retain: BoolField; constructor(); + annotations(): Annotations; + + graph(): Graph; + link(label: string): T; link(): T; - linkCopy(): NodeMapping; + linkCopy(): MqttOperationBinding; - propertiesMapping(): Array; + withBindingVersion(bindingVersion: string): this; - withIdTemplate(idTemplate: string): NodeMapping; + withCustomDomainProperties(extensions: Array): this; + + withExtendsNode(extension: Array): this; + + withId(id: string): this; + + withIsExternalLink(isExternalLink: boolean): DomainElement; withLinkLabel(label: string): this; withLinkTarget(target: undefined): this; - withMergePolicy(mergePolicy: string): NodeMapping; + withQos(qos: number): this; - withName(name: string): NodeMapping; + withRetain(retain: boolean): this; + } + export class MqttOperationBinding020 implements MqttOperationBinding { + customDomainProperties: Array; + extendsNode: Array; + id: string; + isExternalLink: BoolField; + isLink: boolean; + linkLabel: StrField; + linkTarget: undefined | DomainElement; + position: Range; + qos: IntField; + retain: BoolField; + messageExpiryInterval: IntField; + messageExpiryIntervalSchema: Shape; - withNodeTypeMapping(nodeType: string): NodeMapping; + constructor(); - withPropertiesMapping(props: Array): NodeMapping; - } - export class NodeShape extends AnyShape { - additionalPropertiesKeySchema: Shape; - additionalPropertiesSchema: Shape; - closed: BoolField; - dependencies: Array; - discriminator: StrField; - discriminatorMapping: Array; - discriminatorValue: StrField; - discriminatorValueMapping: Array; - externalProperties: Array; - isAbstract: BoolField; - isInputOnly: BoolField; - keys: undefined; - maxProperties: IntField; - minProperties: IntField; - properties: Array; - propertyNames: Shape; - schemaDependencies: Array; - unevaluatedProperties: boolean; - unevaluatedPropertiesSchema: Shape; + annotations(): Annotations; - constructor(); + graph(): Graph; - linkCopy(): NodeShape; + link(label: string): T; - withAdditionalPropertiesKeySchema( - additionalPropertiesKeySchema: Shape - ): this; + link(): T; - withAdditionalPropertiesSchema(additionalPropertiesSchema: Shape): this; + linkCopy(): MqttOperationBinding; - withClosed(closed: boolean): this; + withBindingVersion(bindingVersion: string): this; - withDependencies(dependencies: Array): this; + withCustomDomainProperties(extensions: Array): this; - withDependency(): PropertyDependencies; + withExtendsNode(extension: Array): this; - withDiscriminator(discriminator: string): this; + withId(id: string): this; - withDiscriminatorMapping(mappings: Array): this; + withIsExternalLink(isExternalLink: boolean): DomainElement; - withDiscriminatorValue(value: string): this; + withLinkLabel(label: string): this; - withExternalProperties( - externalProperties: Array - ): this; + withLinkTarget(target: undefined): this; - withInheritsObject(name: string): NodeShape; + withQos(qos: number): this; - withInheritsScalar(name: string): ScalarShape; + withRetain(retain: boolean): this; - withIsAbstract(isAbstract: boolean): this; + withMessageExpiryInterval(messageExpiryInterval: number): this; - withIsInputOnly(isInputOnly: boolean): this; + withMessageExpiryIntervalSchema(messageExpiryIntervalSchema: Shape): this; + } + export class MqttServerBinding implements ServerBinding { + cleanSession: BoolField; + clientId: StrField; + customDomainProperties: Array; + extendsNode: Array; + id: string; + isExternalLink: BoolField; + isLink: boolean; + keepAlive: IntField; + lastWill: MqttServerLastWill; + linkLabel: StrField; + linkTarget: undefined | DomainElement; + position: Range; - withKeys(keys: undefined): this; + constructor(); - withMaxProperties(max: number): this; + annotations(): Annotations; - withMinProperties(min: number): this; + graph(): Graph; - withProperties(properties: Array): this; + link(label: string): T; - withProperty(name: string): PropertyShape; + link(): T; - withPropertyNames(propertyNames: Shape): this; + linkCopy(): MqttServerBinding; - withSchemaDependencies(dependencies: Array): this; + withBindingVersion(bindingVersion: string): this; - withUnevaluatedProperties(value: boolean): this; + withCleanSession(cleanSession: boolean): this; - withUnevaluatedPropertiesSchema(schema: Shape): this; - } - export class NormalPriority extends PluginPriority {} - export class OASConfiguration { - static OAS(): AMFConfiguration; + withClientId(clientId: string): this; - static OAS20(): AMFConfiguration; + withCustomDomainProperties(extensions: Array): this; - static OAS30(): AMFConfiguration; + withExtendsNode(extension: Array): this; - static OAS30Component(): AMFConfiguration; + withId(id: string): this; - static OASComponent(): AMFConfiguration; + withIsExternalLink(isExternalLink: boolean): DomainElement; - static fromSpec(spec: Spec): AMFConfiguration; + withKeepAlive(keepAlive: number): this; + + withLastWill(lastWill: MqttServerLastWill): this; + + withLinkLabel(label: string): this; + + withLinkTarget(target: undefined): this; } - export class OAuth1Settings extends Settings { - authorizationUri: StrField; - requestTokenUri: StrField; - signatures: Array; - tokenCredentialsUri: StrField; + export class MqttServerBinding010 implements MqttServerBinding { + cleanSession: BoolField; + clientId: StrField; + customDomainProperties: Array; + extendsNode: Array; + id: string; + isExternalLink: BoolField; + isLink: boolean; + keepAlive: IntField; + lastWill: MqttServerLastWill; + linkLabel: StrField; + linkTarget: undefined | DomainElement; + position: Range; constructor(); - withAuthorizationUri(authorizationUri: string): this; + annotations(): Annotations; - withRequestTokenUri(requestTokenUri: string): this; + graph(): Graph; - withSignatures(signatures: Array): this; + link(label: string): T; - withTokenCredentialsUri(tokenCredentialsUri: string): this; + link(): T; + + linkCopy(): MqttServerBinding; + + withBindingVersion(bindingVersion: string): this; + + withCleanSession(cleanSession: boolean): this; + + withClientId(clientId: string): this; + + withCustomDomainProperties(extensions: Array): this; + + withExtendsNode(extension: Array): this; + + withId(id: string): this; + + withIsExternalLink(isExternalLink: boolean): DomainElement; + + withKeepAlive(keepAlive: number): this; + + withLastWill(lastWill: MqttServerLastWill): this; + + withLinkLabel(label: string): this; + + withLinkTarget(target: undefined): this; } - export class OAuth2Flow implements DomainElement { - accessTokenUri: StrField; - authorizationUri: StrField; + export class MqttServerBinding020 implements MqttServerBinding { + cleanSession: BoolField; + clientId: StrField; customDomainProperties: Array; extendsNode: Array; - flow: StrField; id: string; isExternalLink: BoolField; + isLink: boolean; + keepAlive: IntField; + lastWill: MqttServerLastWill; + linkLabel: StrField; + linkTarget: undefined | DomainElement; position: Range; - refreshUri: StrField; - scopes: Array; + sessionExpiryInterval: number; + sessionExpiryIntervalSchema: Shape; + maximumPacketSize: number; + maximumPacketSizeSchema: Shape; constructor(); @@ -5444,51 +5827,57 @@ declare module "amf-client-js" { graph(): Graph; - withAccessTokenUri(accessTokenUri: string): this; + link(label: string): T; - withAuthorizationUri(authorizationUri: string): this; + link(): T; + + linkCopy(): MqttServerBinding; + + withBindingVersion(bindingVersion: string): this; + + withCleanSession(cleanSession: boolean): this; + + withClientId(clientId: string): this; withCustomDomainProperties(extensions: Array): this; withExtendsNode(extension: Array): this; - withFlow(flow: string): this; - withId(id: string): this; withIsExternalLink(isExternalLink: boolean): DomainElement; - withRefreshUri(refreshUri: string): this; + withKeepAlive(keepAlive: number): this; - withScopes(scopes: Array): this; - } - export class OAuth2Settings extends Settings { - authorizationGrants: Array; - flows: Array; + withLastWill(lastWill: MqttServerLastWill): this; - constructor(); + withLinkLabel(label: string): this; - withAuthorizationGrants(grants: Array): this; + withLinkTarget(target: undefined): this; - withFlows(flows: Array): this; + withSessionExpiryInterval(sessionExpiryInterval: number): this; + + withSessionExpiryIntervalSchema(sessionExpiryIntervalSchema: Shape): this; + + withMaximumPacketSize(maximumPacketSize: number): this; + + withMaximumPacketSizeSchema(maximumPacketSizeSchema: Shape): this; } - export class ObjectNode implements DataNode { + export class MqttServerLastWill implements DomainElement { customDomainProperties: Array; extendsNode: Array; id: string; isExternalLink: BoolField; - name: StrField; + message: StrField; position: Range; - properties: Map; + qos: IntField; + retain: BoolField; + topic: StrField; constructor(); - addProperty(property: string, node: DataNode): this; - annotations(): Annotations; - getProperty(property: string): undefined | DataNode; - graph(): Graph; withCustomDomainProperties(extensions: Array): this; @@ -5499,43 +5888,31 @@ declare module "amf-client-js" { withIsExternalLink(isExternalLink: boolean): DomainElement; - withName(name: string): this; + withMessage(message: string): this; + + withQos(qos: number): this; + + withRetain(retain: boolean): this; + + withTopic(topic: string): this; } - export class ObjectPropertyTerm extends PropertyTerm { + export class NamedExample extends Fragment { constructor(); } - export class OpenIdConnectSettings extends Settings { - scopes: Array; - url: StrField; - + export class NilShape extends AnyShape { constructor(); - withScopes(scopes: Array): this; - - withUrl(url: string): this; + linkCopy(): NilShape; } - export class Operation extends AbstractOperation implements Linkable { - accepts: Array; - bindings: OperationBindings; - callbacks: Array; - contentType: Array; - deprecated: BoolField; - documentation: CreativeWork; - federationMetadata: OperationFederationMetadata; - isAbstract: BoolField; + export class NodeMapping extends AnyMapping implements Linkable { + closed: BoolField; + idTemplate: StrField; isLink: boolean; linkLabel: StrField; linkTarget: undefined | DomainElement; - operationId: StrField; - request: Request; - requests: Array; - response: Response; - responses: Array; - schemes: Array; - security: Array; - servers: Array; - summary: StrField; - tags: Array; + mergePolicy: StrField; + name: StrField; + nodetypeMapping: StrField; constructor(); @@ -5543,17 +5920,255 @@ declare module "amf-client-js" { link(): T; - linkCopy(): Operation; + linkCopy(): NodeMapping; - withAbstract(abs: boolean): this; + propertiesMapping(): Array; - withAccepts(accepts: Array): this; + withIdTemplate(idTemplate: string): NodeMapping; - withBindings(bindings: OperationBindings): this; + withLinkLabel(label: string): this; - withCallback(name: string): Callback; + withLinkTarget(target: undefined): this; - withCallbacks(callbacks: Array): this; + withMergePolicy(mergePolicy: string): NodeMapping; + + withName(name: string): NodeMapping; + + withNodeTypeMapping(nodeType: string): NodeMapping; + + withPropertiesMapping(props: Array): NodeMapping; + } + export class NodeShape extends AnyShape { + additionalPropertiesKeySchema: Shape; + additionalPropertiesSchema: Shape; + closed: BoolField; + dependencies: Array; + discriminator: StrField; + discriminatorMapping: Array; + discriminatorValue: StrField; + discriminatorValueMapping: Array; + externalProperties: Array; + isAbstract: BoolField; + isInputOnly: BoolField; + keys: undefined; + maxProperties: IntField; + minProperties: IntField; + properties: Array; + propertyNames: Shape; + schemaDependencies: Array; + unevaluatedProperties: boolean; + unevaluatedPropertiesSchema: Shape; + + constructor(); + + linkCopy(): NodeShape; + + withAdditionalPropertiesKeySchema( + additionalPropertiesKeySchema: Shape + ): this; + + withAdditionalPropertiesSchema(additionalPropertiesSchema: Shape): this; + + withClosed(closed: boolean): this; + + withDependencies(dependencies: Array): this; + + withDependency(): PropertyDependencies; + + withDiscriminator(discriminator: string): this; + + withDiscriminatorMapping(mappings: Array): this; + + withDiscriminatorValue(value: string): this; + + withExternalProperties( + externalProperties: Array + ): this; + + withInheritsObject(name: string): NodeShape; + + withInheritsScalar(name: string): ScalarShape; + + withIsAbstract(isAbstract: boolean): this; + + withIsInputOnly(isInputOnly: boolean): this; + + withKeys(keys: undefined): this; + + withMaxProperties(max: number): this; + + withMinProperties(min: number): this; + + withProperties(properties: Array): this; + + withProperty(name: string): PropertyShape; + + withPropertyNames(propertyNames: Shape): this; + + withSchemaDependencies(dependencies: Array): this; + + withUnevaluatedProperties(value: boolean): this; + + withUnevaluatedPropertiesSchema(schema: Shape): this; + } + export class NormalPriority extends PluginPriority {} + export class OASConfiguration { + static OAS(): AMFConfiguration; + + static OAS20(): AMFConfiguration; + + static OAS30(): AMFConfiguration; + + static OAS30Component(): AMFConfiguration; + + static OASComponent(): AMFConfiguration; + + static fromSpec(spec: Spec): AMFConfiguration; + } + export class OAuth1Settings extends Settings { + authorizationUri: StrField; + requestTokenUri: StrField; + signatures: Array; + tokenCredentialsUri: StrField; + + constructor(); + + withAuthorizationUri(authorizationUri: string): this; + + withRequestTokenUri(requestTokenUri: string): this; + + withSignatures(signatures: Array): this; + + withTokenCredentialsUri(tokenCredentialsUri: string): this; + } + export class OAuth2Flow implements DomainElement { + accessTokenUri: StrField; + authorizationUri: StrField; + customDomainProperties: Array; + extendsNode: Array; + flow: StrField; + id: string; + isExternalLink: BoolField; + position: Range; + refreshUri: StrField; + scopes: Array; + + constructor(); + + annotations(): Annotations; + + graph(): Graph; + + withAccessTokenUri(accessTokenUri: string): this; + + withAuthorizationUri(authorizationUri: string): this; + + withCustomDomainProperties(extensions: Array): this; + + withExtendsNode(extension: Array): this; + + withFlow(flow: string): this; + + withId(id: string): this; + + withIsExternalLink(isExternalLink: boolean): DomainElement; + + withRefreshUri(refreshUri: string): this; + + withScopes(scopes: Array): this; + } + export class OAuth2Settings extends Settings { + authorizationGrants: Array; + flows: Array; + + constructor(); + + withAuthorizationGrants(grants: Array): this; + + withFlows(flows: Array): this; + } + export class ObjectNode implements DataNode { + customDomainProperties: Array; + extendsNode: Array; + id: string; + isExternalLink: BoolField; + name: StrField; + position: Range; + properties: Map; + + constructor(); + + addProperty(property: string, node: DataNode): this; + + annotations(): Annotations; + + getProperty(property: string): undefined | DataNode; + + graph(): Graph; + + withCustomDomainProperties(extensions: Array): this; + + withExtendsNode(extension: Array): this; + + withId(id: string): this; + + withIsExternalLink(isExternalLink: boolean): DomainElement; + + withName(name: string): this; + } + export class ObjectPropertyTerm extends PropertyTerm { + constructor(); + } + export class OpenIdConnectSettings extends Settings { + scopes: Array; + url: StrField; + + constructor(); + + withScopes(scopes: Array): this; + + withUrl(url: string): this; + } + export class Operation extends AbstractOperation implements Linkable { + accepts: Array; + bindings: OperationBindings; + callbacks: Array; + contentType: Array; + deprecated: BoolField; + documentation: CreativeWork; + federationMetadata: OperationFederationMetadata; + isAbstract: BoolField; + isLink: boolean; + linkLabel: StrField; + linkTarget: undefined | DomainElement; + operationId: StrField; + request: Request; + requests: Array; + response: Response; + responses: Array; + schemes: Array; + security: Array; + servers: Array; + summary: StrField; + tags: Array; + + constructor(); + + link(label: string): T; + + link(): T; + + linkCopy(): Operation; + + withAbstract(abs: boolean): this; + + withAccepts(accepts: Array): this; + + withBindings(bindings: OperationBindings): this; + + withCallback(name: string): Callback; + + withCallbacks(callbacks: Array): this; withContentType(contentType: Array): this; @@ -7445,154 +8060,423 @@ declare module "amf-client-js" { extendsNode: Array; id: string; isExternalLink: BoolField; - name: StrField; - position: Range; - queryParameters: Array; - - constructor(); + name: StrField; + position: Range; + queryParameters: Array; + + constructor(); + + annotations(): Annotations; + + graph(): Graph; + + withCustomDomainProperties(extensions: Array): this; + + withExtendsNode(extension: Array): this; + + withId(id: string): this; + + withIsExternalLink(isExternalLink: boolean): DomainElement; + + withName(name: string): this; + + withQueryParameter(name: string): ShapeParameter; + + withQueryParameters(parameters: Array): this; + } + export class ShapeResponse implements AbstractResponse { + customDomainProperties: Array; + extendsNode: Array; + id: string; + isExternalLink: BoolField; + name: StrField; + payload: ShapePayload; + position: Range; + + constructor(); + + annotations(): Annotations; + + graph(): Graph; + + withCustomDomainProperties(extensions: Array): this; + + withExtendsNode(extension: Array): this; + + withId(id: string): this; + + withIsExternalLink(isExternalLink: boolean): DomainElement; + + withName(name: string): this; + + withPayload(payload: ShapePayload): ShapePayload; + } + export class ShapeValidationConfiguration { + readonly maxYamlReferences: undefined | number; + + static apply(config: AMFGraphConfiguration): ShapeValidationConfiguration; + + eh(): ClientErrorHandler; + + fetchContent(url: string): Promise; + + static predefined(): ShapeValidationConfiguration; + } + export class ShapesConfiguration extends BaseShapesConfiguration { + baseUnitClient(): AMLBaseUnitClient; + + configurationState(): AMLConfigurationState; + + elementClient(): ShapesElementClient; + + static empty(): ShapesConfiguration; + + forInstance(url: string): Promise; + + static predefined(): ShapesConfiguration; + + withDialect(dialect: Dialect): ShapesConfiguration; + + withDialect(url: string): Promise; + + withErrorHandlerProvider( + provider: ErrorHandlerProvider + ): ShapesConfiguration; + + withEventListener(listener: AMFEventListener): ShapesConfiguration; + + withParsingOptions(parsingOptions: ParsingOptions): ShapesConfiguration; + + withRenderOptions(renderOptions: RenderOptions): ShapesConfiguration; + + withResourceLoader(rl: ResourceLoader): ShapesConfiguration; + + withResourceLoaders(rl: Array): ShapesConfiguration; + + withShapePayloadPlugin( + plugin: AMFShapePayloadValidationPlugin + ): ShapesConfiguration; + + withTransformationPipeline( + pipeline: TransformationPipeline + ): ShapesConfiguration; + + withUnitCache(cache: UnitCache): ShapesConfiguration; + } + export class ShapesElementClient extends BaseShapesElementClient { + getConfiguration(): ShapesConfiguration; + } + export class SkippedValidationPluginEvent {} + export class SolaceOperationBinding implements OperationBinding { + + withBindingVersion(bindingVersion: string): this; + + customDomainProperties: Array; + extendsNode: Array; + id: string; + isExternalLink: BoolField; + isLink: boolean; + linkLabel: StrField; + linkTarget: DomainElement | undefined; + position: Range; + + annotations(): Annotations; + graph(): Graph; + link(): T; + link(label: string): T; + linkCopy(): Linkable; + withCustomDomainProperties(extensions: Array): this; + withCustomDomainProperties(extensions: Array): this; + withExtendsNode(extension: Array): this; + withId(id: string): this; + withIsExternalLink(isExternalLink: boolean): DomainElement; + withLinkLabel(label: string): this; + withLinkTarget(target: undefined): this; + } + export class SolaceOperationBinding010 implements SolaceOperationBinding { + + withBindingVersion(bindingVersion: string): this; + + customDomainProperties: Array; + extendsNode: Array; + id: string; + isExternalLink: BoolField; + isLink: boolean; + linkLabel: StrField; + linkTarget: DomainElement | undefined; + position: Range; + destinations: Array; + + annotations(): Annotations; + graph(): Graph; + link(): T; + link(label: string): T; + linkCopy(): Linkable; + withCustomDomainProperties(extensions: Array): this; + withCustomDomainProperties(extensions: Array): this; + withExtendsNode(extension: Array): this; + withId(id: string): this; + withIsExternalLink(isExternalLink: boolean): DomainElement; + withLinkLabel(label: string): this; + withLinkTarget(target: undefined): this; + withDestinations(destinations: Array): this; + } + export class SolaceOperationBinding020 implements SolaceOperationBinding { + + withBindingVersion(bindingVersion: string): this; + + customDomainProperties: Array; + extendsNode: Array; + id: string; + isExternalLink: BoolField; + isLink: boolean; + linkLabel: StrField; + linkTarget: DomainElement | undefined; + position: Range; + destinations: Array; + + annotations(): Annotations; + graph(): Graph; + link(): T; + link(label: string): T; + linkCopy(): Linkable; + withCustomDomainProperties(extensions: Array): this; + withCustomDomainProperties(extensions: Array): this; + withExtendsNode(extension: Array): this; + withId(id: string): this; + withIsExternalLink(isExternalLink: boolean): DomainElement; + withLinkLabel(label: string): this; + withLinkTarget(target: undefined): this; + withDestinations(destinations: Array): this; + } + export class SolaceOperationBinding030 implements SolaceOperationBinding { + + withBindingVersion(bindingVersion: string): this; + + customDomainProperties: Array; + extendsNode: Array; + id: string; + isExternalLink: BoolField; + isLink: boolean; + linkLabel: StrField; + linkTarget: DomainElement | undefined; + position: Range; + destinations: Array; + + annotations(): Annotations; + graph(): Graph; + link(): T; + link(label: string): T; + linkCopy(): Linkable; + withCustomDomainProperties(extensions: Array): this; + withCustomDomainProperties(extensions: Array): this; + withExtendsNode(extension: Array): this; + withId(id: string): this; + withIsExternalLink(isExternalLink: boolean): DomainElement; + withLinkLabel(label: string): this; + withLinkTarget(target: undefined): this; + withDestinations(destinations: Array): this; + } + export class SolaceOperationBinding040 implements SolaceOperationBinding { + + withBindingVersion(bindingVersion: string): this; + + customDomainProperties: Array; + extendsNode: Array; + id: string; + isExternalLink: BoolField; + isLink: boolean; + linkLabel: StrField; + linkTarget: DomainElement | undefined; + position: Range; + destinations: Array; + timeToLive: IntField; + priority: IntField; + dmqEligible:BoolField; + + annotations(): Annotations; + graph(): Graph; + link(): T; + link(label: string): T; + linkCopy(): Linkable; + withCustomDomainProperties(extensions: Array): this; + withCustomDomainProperties(extensions: Array): this; + withExtendsNode(extension: Array): this; + withId(id: string): this; + withIsExternalLink(isExternalLink: boolean): DomainElement; + withLinkLabel(label: string): this; + withLinkTarget(target: undefined): this; + withDestinations(destinations: Array): this; + withTimeToLive(timeToLive: number): this; + withPriority(priority:number): this; + withDmqEligible(dmqEligible:boolean): this; + } + export class SolaceOperationDestination implements DomainElement { + + destinationType: StrField; + deliveryMode: StrField; + queue: SolaceOperationQueue; + + withDestinationType(destinationType: string): this; + withDeliveryMode(deliveryMode: string): this; + withQueue(queue: SolaceOperationQueue): this; + + customDomainProperties: Array; + extendsNode: Array; + id: string; + isExternalLink: BoolField; + position: Range; + + annotations(): Annotations; + graph(): Graph; + withCustomDomainProperties(extensions: Array): this; + withCustomDomainProperties(extensions: Array): this; + withExtendsNode(extension: Array): this; + withId(id: string): this; + withIsExternalLink(isExternalLink: boolean): DomainElement; + } + export class SolaceOperationDestination010 implements SolaceOperationDestination { + + destinationType: StrField; + deliveryMode: StrField; + queue: SolaceOperationQueue010; + + + withDestinationType(destinationType: string): this; + withDeliveryMode(deliveryMode: string): this; + withQueue(queue: SolaceOperationQueue010): this; + + + customDomainProperties: Array; + extendsNode: Array; + id: string; + isExternalLink: BoolField; + position: Range; + + annotations(): Annotations; + graph(): Graph; + withCustomDomainProperties(extensions: Array): this; + withCustomDomainProperties(extensions: Array): this; + withExtendsNode(extension: Array): this; + withId(id: string): this; + withIsExternalLink(isExternalLink: boolean): DomainElement; + } + export class SolaceOperationDestination020 implements SolaceOperationDestination { + + destinationType: StrField; + deliveryMode: StrField; + queue: SolaceOperationQueue010; + topic: SolaceOperationTopic; + destinations: Array; + + withDestinationType(destinationType: string): this; + withDeliveryMode(deliveryMode: string): this; + withQueue(queue: SolaceOperationQueue010): this; + withDestinations(destinations: Array): this; + withTopic(topic: SolaceOperationTopic): this; + customDomainProperties: Array; + extendsNode: Array; + id: string; + isExternalLink: BoolField; + position: Range; annotations(): Annotations; - graph(): Graph; - withCustomDomainProperties(extensions: Array): this; - + withCustomDomainProperties(extensions: Array): this; withExtendsNode(extension: Array): this; - withId(id: string): this; - withIsExternalLink(isExternalLink: boolean): DomainElement; + } + export class SolaceOperationDestination030 implements SolaceOperationDestination { - withName(name: string): this; + destinationType: StrField; + deliveryMode: StrField; + queue: SolaceOperationQueue030; + topic: SolaceOperationTopic; + destinations: Array; - withQueryParameter(name: string): ShapeParameter; + withDestinationType(destinationType: string): this; + withDeliveryMode(deliveryMode: string): this; + withQueue(queue: SolaceOperationQueue030): this; + withTopic(topic: SolaceOperationTopic): this; + withDestinations(destinations: Array): this; - withQueryParameters(parameters: Array): this; - } - export class ShapeResponse implements AbstractResponse { customDomainProperties: Array; extendsNode: Array; id: string; isExternalLink: BoolField; - name: StrField; - payload: ShapePayload; position: Range; - constructor(); - annotations(): Annotations; - graph(): Graph; - withCustomDomainProperties(extensions: Array): this; - + withCustomDomainProperties(extensions: Array): this; withExtendsNode(extension: Array): this; - withId(id: string): this; - withIsExternalLink(isExternalLink: boolean): DomainElement; - - withName(name: string): this; - - withPayload(payload: ShapePayload): ShapePayload; - } - export class ShapeValidationConfiguration { - readonly maxYamlReferences: undefined | number; - - static apply(config: AMFGraphConfiguration): ShapeValidationConfiguration; - - eh(): ClientErrorHandler; - - fetchContent(url: string): Promise; - - static predefined(): ShapeValidationConfiguration; } - export class ShapesConfiguration extends BaseShapesConfiguration { - baseUnitClient(): AMLBaseUnitClient; - - configurationState(): AMLConfigurationState; - - elementClient(): ShapesElementClient; - - static empty(): ShapesConfiguration; - - forInstance(url: string): Promise; - - static predefined(): ShapesConfiguration; + export class SolaceOperationDestination040 implements SolaceOperationDestination { - withDialect(dialect: Dialect): ShapesConfiguration; - - withDialect(url: string): Promise; - - withErrorHandlerProvider( - provider: ErrorHandlerProvider - ): ShapesConfiguration; - - withEventListener(listener: AMFEventListener): ShapesConfiguration; - - withParsingOptions(parsingOptions: ParsingOptions): ShapesConfiguration; - - withRenderOptions(renderOptions: RenderOptions): ShapesConfiguration; - - withResourceLoader(rl: ResourceLoader): ShapesConfiguration; - - withResourceLoaders(rl: Array): ShapesConfiguration; + destinationType: StrField; + deliveryMode: StrField; + queue: SolaceOperationQueue030; + topic: SolaceOperationTopic; + destinations: Array; - withShapePayloadPlugin( - plugin: AMFShapePayloadValidationPlugin - ): ShapesConfiguration; + withDestinationType(destinationType: string): this; + withDeliveryMode(deliveryMode: string): this; + withQueue(queue: SolaceOperationQueue030): this; + withTopic(topic: SolaceOperationTopic): this; + withDestinations(destinations: Array): this; - withTransformationPipeline( - pipeline: TransformationPipeline - ): ShapesConfiguration; + customDomainProperties: Array; + extendsNode: Array; + id: string; + isExternalLink: BoolField; + position: Range; - withUnitCache(cache: UnitCache): ShapesConfiguration; - } - export class ShapesElementClient extends BaseShapesElementClient { - getConfiguration(): ShapesConfiguration; + annotations(): Annotations; + graph(): Graph; + withCustomDomainProperties(extensions: Array): this; + withCustomDomainProperties(extensions: Array): this; + withExtendsNode(extension: Array): this; + withId(id: string): this; + withIsExternalLink(isExternalLink: boolean): DomainElement; } - export class SkippedValidationPluginEvent {} - export class SolaceOperationBinding implements OperationBinding { + export class SolaceOperationQueue implements DomainElement { - destinations: Array; - bindingVersion: StrField; + topicSubscriptions: Array; + accessType: StrField; + name: StrField; - withDestinations(destinations: Array): this; - withBindingVersion(bindingVersion: string): this; + withTopicSubscriptions(topicSubscriptions: Array): this; + withAccessType(accessType: string): this; + withName(name: string): this; customDomainProperties: Array; extendsNode: Array; id: string; isExternalLink: BoolField; - isLink: boolean; - linkLabel: StrField; - linkTarget: DomainElement | undefined; position: Range; annotations(): Annotations; graph(): Graph; - link(): T; - link(label: string): T; - linkCopy(): Linkable; withCustomDomainProperties(extensions: Array): this; withCustomDomainProperties(extensions: Array): this; withExtendsNode(extension: Array): this; withId(id: string): this; withIsExternalLink(isExternalLink: boolean): DomainElement; - withLinkLabel(label: string): this; - withLinkTarget(target: undefined): this; } - export class SolaceOperationDestination implements DomainElement { + export class SolaceOperationQueue010 implements SolaceOperationQueue { - destinationType: StrField; - deliveryMode: StrField; - queue: SolaceOperationQueue; - topic: SolaceOperationTopic; + topicSubscriptions: Array; + accessType: StrField; + name: StrField; - withDestinationType(destinationType: string): this; - withDeliveryMode(deliveryMode: string): this; - withQueue(queue: SolaceOperationQueue): this; - withTopic(topic: SolaceOperationTopic): this; + withTopicSubscriptions(topicSubscriptions: Array): this; + withAccessType(accessType: string): this; + withName(name: string): this; customDomainProperties: Array; extendsNode: Array; @@ -7608,7 +8492,7 @@ declare module "amf-client-js" { withId(id: string): this; withIsExternalLink(isExternalLink: boolean): DomainElement; } - export class SolaceOperationQueue implements DomainElement { + export class SolaceOperationQueue030 implements SolaceOperationQueue { topicSubscriptions: Array; accessType: StrField; @@ -7639,7 +8523,6 @@ declare module "amf-client-js" { export class SolaceOperationTopic implements DomainElement { topicSubscriptions: Array; - withTopicSubscriptions(topicSubscriptions: Array): this; customDomainProperties: Array; @@ -7656,6 +8539,127 @@ declare module "amf-client-js" { withId(id: string): this; withIsExternalLink(isExternalLink: boolean): DomainElement; } + export class SolaceServerBinding implements ServerBinding { + customDomainProperties: Array; + extendsNode: Array; + id: string; + isExternalLink: BoolField; + isLink: boolean; + linkLabel: StrField; + linkTarget: undefined | DomainElement; + msgVpn: StrField; + clientName: StrField; + position: Range; + + constructor(); + + annotations(): Annotations; + + graph(): Graph; + + link(label: string): T; + + link(): T; + + linkCopy(): SolaceServerBinding; + + withBindingVersion(bindingVersion: string): this; + + withCustomDomainProperties(extensions: Array): this; + + withExtendsNode(extension: Array): this; + + withId(id: string): this; + + withIsExternalLink(isExternalLink: boolean): DomainElement; + + withMsgVpn(msgVpn: string): this; + + withClientName(clientName: string): this; + + withLinkLabel(label: string): this; + + withLinkTarget(target: undefined): this; + + } + export class SolaceServerBinding010 implements ServerBinding { + customDomainProperties: Array; + extendsNode: Array; + id: string; + isExternalLink: BoolField; + isLink: boolean; + linkLabel: StrField; + linkTarget: undefined | DomainElement; + position: Range; + + constructor(); + + annotations(): Annotations; + + graph(): Graph; + + link(label: string): T; + + link(): T; + + linkCopy(): SolaceServerBinding; + + withBindingVersion(bindingVersion: string): this; + + withCustomDomainProperties(extensions: Array): this; + + withExtendsNode(extension: Array): this; + + withId(id: string): this; + + withIsExternalLink(isExternalLink: boolean): DomainElement; + + withLinkLabel(label: string): this; + + withLinkTarget(target: undefined): this; + + } + export class SolaceServerBinding040 implements ServerBinding { + customDomainProperties: Array; + extendsNode: Array; + id: string; + isExternalLink: BoolField; + isLink: boolean; + linkLabel: StrField; + linkTarget: undefined | DomainElement; + clientName: StrField; + position: Range; + + constructor(); + + annotations(): Annotations; + + graph(): Graph; + + link(label: string): T; + + link(): T; + + linkCopy(): SolaceServerBinding; + + withBindingVersion(bindingVersion: string): this; + + withCustomDomainProperties(extensions: Array): this; + + withExtendsNode(extension: Array): this; + + withId(id: string): this; + + withIsExternalLink(isExternalLink: boolean): DomainElement; + + withMsgVpn(msgVpn: string): this; + + + withLinkLabel(label: string): this; + + withLinkTarget(target: undefined): this; + + } export interface Spec { readonly id: string; isAsync: boolean; diff --git a/amf-cli/shared/src/main/scala/amf/cli/internal/commands/CommandHelper.scala b/amf-cli/shared/src/main/scala/amf/cli/internal/commands/CommandHelper.scala index fec7dfaf92..7ff792ab6c 100644 --- a/amf-cli/shared/src/main/scala/amf/cli/internal/commands/CommandHelper.scala +++ b/amf-cli/shared/src/main/scala/amf/cli/internal/commands/CommandHelper.scala @@ -119,12 +119,13 @@ trait CommandHelper { } private def configFor(spec: Spec): Option[AMFConfiguration] = spec match { - case Spec.RAML10 => Some(RAMLConfiguration.RAML10()) - case Spec.RAML08 => Some(RAMLConfiguration.RAML08()) - case Spec.OAS20 => Some(OASConfiguration.OAS20()) - case Spec.OAS30 => Some(OASConfiguration.OAS30()) - case Spec.ASYNC20 => Some(AsyncAPIConfiguration.Async20()) - case _ => None + case Spec.RAML10 => Some(RAMLConfiguration.RAML10()) + case Spec.RAML08 => Some(RAMLConfiguration.RAML08()) + case Spec.OAS20 => Some(OASConfiguration.OAS20()) + case Spec.OAS30 => Some(OASConfiguration.OAS30()) + case Spec.ASYNC20 | Spec.ASYNC21 | Spec.ASYNC22 | Spec.ASYNC23 | Spec.ASYNC24 | Spec.ASYNC25 | Spec.ASYNC26 => + Some(AsyncAPIConfiguration.Async20()) + case _ => None } def effectiveVendor(spec: Option[String]): Spec = spec.flatMap(Spec.unapply).getOrElse(Spec("unknown")) diff --git a/amf-cli/shared/src/test/resources/components/oas3/oas-component-unresolved-ref.yaml b/amf-cli/shared/src/test/resources/components/oas3/oas-component-unresolved-ref.yaml new file mode 100644 index 0000000000..21c44db262 --- /dev/null +++ b/amf-cli/shared/src/test/resources/components/oas3/oas-component-unresolved-ref.yaml @@ -0,0 +1,15 @@ +openapi: "3.0.0" +info: + version: 1.0.0 + title: oas components test + +paths: { } + +components: + schemas: + RequestTypeTOPaged: + description: "RequestTypeTOPaged" + type: "object" + allOf: + - $ref: "#/components/responses/PageResponse" + - type: "string" \ No newline at end of file diff --git a/amf-cli/shared/src/test/resources/components/oas3/reports/oas-component-unresolved-ref.report b/amf-cli/shared/src/test/resources/components/oas3/reports/oas-component-unresolved-ref.report new file mode 100644 index 0000000000..9c85db60e9 --- /dev/null +++ b/amf-cli/shared/src/test/resources/components/oas3/reports/oas-component-unresolved-ref.report @@ -0,0 +1,14 @@ +ModelId: file://amf-cli/shared/src/test/resources/components/oas3/oas-component-unresolved-ref.yaml +Profile: +Conforms: false +Number of results: 1 + +Level: Violation + +- Constraint: http://a.ml/vocabularies/amf/core#unresolved-reference + Message: Unresolved reference '#/components/responses/PageResponse' + Severity: Violation + Target: file://amf-cli/shared/src/test/resources/components/oas3/oas-component-unresolved-ref.yaml#/declares/shape/RequestTypeTOPaged/and/unresolved + Property: + Range: [(14,10)-(15,0)] + Location: file://amf-cli/shared/src/test/resources/components/oas3/oas-component-unresolved-ref.yaml diff --git a/amf-cli/shared/src/test/resources/references/async/async20.yaml b/amf-cli/shared/src/test/resources/references/async/async20.yaml new file mode 100644 index 0000000000..ce091380ed --- /dev/null +++ b/amf-cli/shared/src/test/resources/references/async/async20.yaml @@ -0,0 +1,36 @@ +asyncapi: '2.0.0' +info: + title: Streetlights Kafka API + version: '1.0.0' + +defaultContentType: application/json + +channels: + smartylighting.streetlights.1.0.event.{streetlightId}.lighting.measured: + description: The topic on which measured values may be produced and consumed. + publish: + summary: Inform about environmental lighting conditions of a particular streetlight. + operationId: receiveLightMeasurement + message: + name: lightMeasured + title: Light measured + summary: Inform about environmental lighting conditions of a particular streetlight. + contentType: application/json + payload: + $ref: "#/components/schemas/lightMeasuredPayload" + +components: + schemas: + sentAt: + type: string + format: date-time + description: Date and time when the message was sent. + lightMeasuredPayload: + type: object + properties: + lumens: + type: integer + minimum: 0 + description: Light intensity measured in lumens. + sentAt: + $ref: "#/components/schemas/sentAt" \ No newline at end of file diff --git a/amf-cli/shared/src/test/resources/references/async/async20.yaml.yaml b/amf-cli/shared/src/test/resources/references/async/async20.yaml.yaml new file mode 100644 index 0000000000..e73a1679cf --- /dev/null +++ b/amf-cli/shared/src/test/resources/references/async/async20.yaml.yaml @@ -0,0 +1,45 @@ +asyncapi: 2.0.0 +info: + title: Streetlights Kafka API + version: 1.0.0 +defaultContentType: application/json +components: + schemas: + sentAt: + type: string + format: date-time + description: Date and time when the message was sent. + lightMeasuredPayload: + type: object + properties: + lumens: + type: integer + minimum: 0 + description: Light intensity measured in lumens. + sentAt: + type: string + format: date-time + description: Date and time when the message was sent. +channels: + smartylighting.streetlights.1.0.event.{streetlightId}.lighting.measured: + description: The topic on which measured values may be produced and consumed. + publish: + summary: Inform about environmental lighting conditions of a particular streetlight. + operationId: receiveLightMeasurement + message: + name: lightMeasured + title: Light measured + summary: Inform about environmental lighting conditions of a particular streetlight. + contentType: application/json + payload: + type: object + properties: + lumens: + type: integer + minimum: 0 + description: Light intensity measured in lumens. + sentAt: + type: string + format: date-time + description: Date and time when the message was sent. + description: The topic on which measured values may be produced and consumed. diff --git a/amf-cli/shared/src/test/resources/references/async/async26.yaml b/amf-cli/shared/src/test/resources/references/async/async26.yaml new file mode 100644 index 0000000000..76aa7e4a53 --- /dev/null +++ b/amf-cli/shared/src/test/resources/references/async/async26.yaml @@ -0,0 +1,36 @@ +asyncapi: '2.6.0' +info: + title: Streetlights Kafka API + version: '1.0.0' + +defaultContentType: application/json + +channels: + smartylighting.streetlights.1.0.event.1.lighting.measured: + description: The topic on which measured values may be produced and consumed. + publish: + summary: Inform about environmental lighting conditions of a particular streetlight. + operationId: receiveLightMeasurement + message: + name: lightMeasured + title: Light measured + summary: Inform about environmental lighting conditions of a particular streetlight. + contentType: application/json + payload: + $ref: "#/components/schemas/lightMeasuredPayload" + +components: + schemas: + sentAt: + type: string + format: date-time + description: Date and time when the message was sent. + lightMeasuredPayload: + type: object + properties: + lumens: + type: integer + minimum: 0 + description: Light intensity measured in lumens. + sentAt: + $ref: "#/components/schemas/sentAt" \ No newline at end of file diff --git a/amf-cli/shared/src/test/resources/references/async/async26.yaml.yaml b/amf-cli/shared/src/test/resources/references/async/async26.yaml.yaml new file mode 100644 index 0000000000..8682fc3e9c --- /dev/null +++ b/amf-cli/shared/src/test/resources/references/async/async26.yaml.yaml @@ -0,0 +1,45 @@ +asyncapi: 2.6.0 +info: + title: Streetlights Kafka API + version: 1.0.0 +defaultContentType: application/json +components: + schemas: + sentAt: + type: string + format: date-time + description: Date and time when the message was sent. + lightMeasuredPayload: + type: object + properties: + lumens: + type: integer + minimum: 0 + description: Light intensity measured in lumens. + sentAt: + type: string + format: date-time + description: Date and time when the message was sent. +channels: + smartylighting.streetlights.1.0.event.1.lighting.measured: + description: The topic on which measured values may be produced and consumed. + publish: + summary: Inform about environmental lighting conditions of a particular streetlight. + operationId: receiveLightMeasurement + message: + name: lightMeasured + title: Light measured + summary: Inform about environmental lighting conditions of a particular streetlight. + contentType: application/json + payload: + type: object + properties: + lumens: + type: integer + minimum: 0 + description: Light intensity measured in lumens. + sentAt: + type: string + format: date-time + description: Date and time when the message was sent. + description: The topic on which measured values may be produced and consumed. diff --git a/amf-cli/shared/src/test/resources/resolution/merge/operation-binding-nested-schema/golden.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/merge/operation-binding-nested-schema/golden.expanded.jsonld index a0f0ca29c2..9a8655e1c4 100644 --- a/amf-cli/shared/src/test/resources/resolution/merge/operation-binding-nested-schema/golden.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/merge/operation-binding-nested-schema/golden.expanded.jsonld @@ -29,9 +29,9 @@ ], "http://a.ml/vocabularies/apiBinding#bindings": [ { - "@id": "target/operation-bindings/http-operation", + "@id": "target/operation-bindings/http-operation-010", "@type": [ - "http://a.ml/vocabularies/apiBinding#HttpOperationBinding", + "http://a.ml/vocabularies/apiBinding#HttpOperationBinding010", "http://a.ml/vocabularies/apiBinding#OperationBinding", "http://a.ml/vocabularies/document#DomainElement" ], @@ -42,7 +42,7 @@ ], "http://a.ml/vocabularies/apiBinding#query": [ { - "@id": "target/operation-bindings/bindings/http-operation#/shape/schema", + "@id": "target/operation-bindings/bindings/http-operation-010#/shape/schema", "@type": [ "http://www.w3.org/ns/shacl#NodeShape", "http://a.ml/vocabularies/shapes#AnyShape", @@ -57,7 +57,7 @@ ], "http://www.w3.org/ns/shacl#property": [ { - "@id": "target/operation-bindings/bindings/http-operation#/shape/schema/property/some", + "@id": "target/operation-bindings/bindings/http-operation-010#/shape/schema/property/some", "@type": [ "http://www.w3.org/ns/shacl#PropertyShape", "http://www.w3.org/ns/shacl#Shape", @@ -71,7 +71,7 @@ ], "http://a.ml/vocabularies/shapes#range": [ { - "@id": "target/operation-bindings/bindings/http-operation#/shape/schema/property/some/scalar/some", + "@id": "target/operation-bindings/bindings/http-operation-010#/shape/schema/property/some/scalar/some", "@type": [ "http://a.ml/vocabularies/shapes#ScalarShape", "http://a.ml/vocabularies/shapes#AnyShape", diff --git a/amf-cli/shared/src/test/resources/resolution/merge/operation-binding-nested-schema/golden.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/merge/operation-binding-nested-schema/golden.flattened.jsonld index deae615256..02867beb60 100644 --- a/amf-cli/shared/src/test/resources/resolution/merge/operation-binding-nested-schema/golden.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/merge/operation-binding-nested-schema/golden.flattened.jsonld @@ -28,26 +28,26 @@ ], "http://a.ml/vocabularies/apiBinding#bindings": [ { - "@id": "target/operation-bindings/http-operation" + "@id": "target/operation-bindings/http-operation-010" } ] }, { - "@id": "target/operation-bindings/http-operation", + "@id": "target/operation-bindings/http-operation-010", "@type": [ - "http://a.ml/vocabularies/apiBinding#HttpOperationBinding", + "http://a.ml/vocabularies/apiBinding#HttpOperationBinding010", "http://a.ml/vocabularies/apiBinding#OperationBinding", "http://a.ml/vocabularies/document#DomainElement" ], "http://a.ml/vocabularies/apiBinding#operationType": "traitType", "http://a.ml/vocabularies/apiBinding#query": { - "@id": "target/operation-bindings/bindings/http-operation#/shape/schema" + "@id": "target/operation-bindings/bindings/http-operation-010#/shape/schema" }, "http://a.ml/vocabularies/apiBinding#bindingVersion": "latest", "http://a.ml/vocabularies/apiBinding#type": "http" }, { - "@id": "target/operation-bindings/bindings/http-operation#/shape/schema", + "@id": "target/operation-bindings/bindings/http-operation-010#/shape/schema", "@type": [ "http://www.w3.org/ns/shacl#NodeShape", "http://a.ml/vocabularies/shapes#AnyShape", @@ -58,13 +58,13 @@ "http://www.w3.org/ns/shacl#closed": false, "http://www.w3.org/ns/shacl#property": [ { - "@id": "target/operation-bindings/bindings/http-operation#/shape/schema/property/some" + "@id": "target/operation-bindings/bindings/http-operation-010#/shape/schema/property/some" } ], "http://www.w3.org/ns/shacl#name": "schema" }, { - "@id": "target/operation-bindings/bindings/http-operation#/shape/schema/property/some", + "@id": "target/operation-bindings/bindings/http-operation-010#/shape/schema/property/some", "@type": [ "http://www.w3.org/ns/shacl#PropertyShape", "http://www.w3.org/ns/shacl#Shape", @@ -77,13 +77,13 @@ } ], "http://a.ml/vocabularies/shapes#range": { - "@id": "target/operation-bindings/bindings/http-operation#/shape/schema/property/some/scalar/some" + "@id": "target/operation-bindings/bindings/http-operation-010#/shape/schema/property/some/scalar/some" }, "http://www.w3.org/ns/shacl#minCount": 0, "http://www.w3.org/ns/shacl#name": "some" }, { - "@id": "target/operation-bindings/bindings/http-operation#/shape/schema/property/some/scalar/some", + "@id": "target/operation-bindings/bindings/http-operation-010#/shape/schema/property/some/scalar/some", "@type": [ "http://a.ml/vocabularies/shapes#ScalarShape", "http://a.ml/vocabularies/shapes#AnyShape", diff --git a/amf-cli/shared/src/test/resources/resolution/merge/operation-different-binding/golden.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/merge/operation-different-binding/golden.expanded.jsonld index e7ac27800c..e3d316b774 100644 --- a/amf-cli/shared/src/test/resources/resolution/merge/operation-different-binding/golden.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/merge/operation-different-binding/golden.expanded.jsonld @@ -92,9 +92,9 @@ ] }, { - "@id": "target/operation-bindings/http-operation", + "@id": "target/operation-bindings/http-operation-010", "@type": [ - "http://a.ml/vocabularies/apiBinding#HttpOperationBinding", + "http://a.ml/vocabularies/apiBinding#HttpOperationBinding010", "http://a.ml/vocabularies/apiBinding#OperationBinding", "http://a.ml/vocabularies/document#DomainElement" ], @@ -105,7 +105,7 @@ ], "http://a.ml/vocabularies/apiBinding#query": [ { - "@id": "patch/operation-bindings/bindings/http-operation/shape/schema", + "@id": "patch/operation-bindings/bindings/http-operation-010/shape/schema", "@type": [ "http://www.w3.org/ns/shacl#NodeShape", "http://a.ml/vocabularies/shapes#AnyShape", @@ -120,7 +120,7 @@ ], "http://www.w3.org/ns/shacl#property": [ { - "@id": "patch/operation-bindings/bindings/http-operation/shape/schema/property/property/some", + "@id": "patch/operation-bindings/bindings/http-operation-010/shape/schema/property/property/some", "@type": [ "http://www.w3.org/ns/shacl#PropertyShape", "http://www.w3.org/ns/shacl#Shape", @@ -134,7 +134,7 @@ ], "http://a.ml/vocabularies/shapes#range": [ { - "@id": "patch/operation-bindings/bindings/http-operation/shape/schema/property/property/some/scalar/some", + "@id": "patch/operation-bindings/bindings/http-operation-010/shape/schema/property/property/some/scalar/some", "@type": [ "http://a.ml/vocabularies/shapes#ScalarShape", "http://a.ml/vocabularies/shapes#AnyShape", diff --git a/amf-cli/shared/src/test/resources/resolution/merge/operation-different-binding/golden.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/merge/operation-different-binding/golden.flattened.jsonld index ca9cbcd662..2dca811dc7 100644 --- a/amf-cli/shared/src/test/resources/resolution/merge/operation-different-binding/golden.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/merge/operation-different-binding/golden.flattened.jsonld @@ -31,7 +31,7 @@ "@id": "target/operation-bindings/amqp091-operation-010" }, { - "@id": "target/operation-bindings/http-operation" + "@id": "target/operation-bindings/http-operation-010" } ] }, @@ -59,21 +59,21 @@ "http://a.ml/vocabularies/apiBinding#type": "amqp" }, { - "@id": "target/operation-bindings/http-operation", + "@id": "target/operation-bindings/http-operation-010", "@type": [ - "http://a.ml/vocabularies/apiBinding#HttpOperationBinding", + "http://a.ml/vocabularies/apiBinding#HttpOperationBinding010", "http://a.ml/vocabularies/apiBinding#OperationBinding", "http://a.ml/vocabularies/document#DomainElement" ], "http://a.ml/vocabularies/apiBinding#operationType": "traitType", "http://a.ml/vocabularies/apiBinding#query": { - "@id": "patch/operation-bindings/bindings/http-operation/shape/schema" + "@id": "patch/operation-bindings/bindings/http-operation-010/shape/schema" }, "http://a.ml/vocabularies/apiBinding#bindingVersion": "latest", "http://a.ml/vocabularies/apiBinding#type": "http" }, { - "@id": "patch/operation-bindings/bindings/http-operation/shape/schema", + "@id": "patch/operation-bindings/bindings/http-operation-010/shape/schema", "@type": [ "http://www.w3.org/ns/shacl#NodeShape", "http://a.ml/vocabularies/shapes#AnyShape", @@ -84,13 +84,13 @@ "http://www.w3.org/ns/shacl#closed": false, "http://www.w3.org/ns/shacl#property": [ { - "@id": "patch/operation-bindings/bindings/http-operation/shape/schema/property/property/some" + "@id": "patch/operation-bindings/bindings/http-operation-010/shape/schema/property/property/some" } ], "http://www.w3.org/ns/shacl#name": "schema" }, { - "@id": "patch/operation-bindings/bindings/http-operation/shape/schema/property/property/some", + "@id": "patch/operation-bindings/bindings/http-operation-010/shape/schema/property/property/some", "@type": [ "http://www.w3.org/ns/shacl#PropertyShape", "http://www.w3.org/ns/shacl#Shape", @@ -103,13 +103,13 @@ } ], "http://a.ml/vocabularies/shapes#range": { - "@id": "patch/operation-bindings/bindings/http-operation/shape/schema/property/property/some/scalar/some" + "@id": "patch/operation-bindings/bindings/http-operation-010/shape/schema/property/property/some/scalar/some" }, "http://www.w3.org/ns/shacl#minCount": 0, "http://www.w3.org/ns/shacl#name": "some" }, { - "@id": "patch/operation-bindings/bindings/http-operation/shape/schema/property/property/some/scalar/some", + "@id": "patch/operation-bindings/bindings/http-operation-010/shape/schema/property/property/some/scalar/some", "@type": [ "http://a.ml/vocabularies/shapes#ScalarShape", "http://a.ml/vocabularies/shapes#AnyShape", diff --git a/amf-cli/shared/src/test/resources/resolution/merge/operation-same-binding/golden.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/merge/operation-same-binding/golden.expanded.jsonld index a0f0ca29c2..9a8655e1c4 100644 --- a/amf-cli/shared/src/test/resources/resolution/merge/operation-same-binding/golden.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/merge/operation-same-binding/golden.expanded.jsonld @@ -29,9 +29,9 @@ ], "http://a.ml/vocabularies/apiBinding#bindings": [ { - "@id": "target/operation-bindings/http-operation", + "@id": "target/operation-bindings/http-operation-010", "@type": [ - "http://a.ml/vocabularies/apiBinding#HttpOperationBinding", + "http://a.ml/vocabularies/apiBinding#HttpOperationBinding010", "http://a.ml/vocabularies/apiBinding#OperationBinding", "http://a.ml/vocabularies/document#DomainElement" ], @@ -42,7 +42,7 @@ ], "http://a.ml/vocabularies/apiBinding#query": [ { - "@id": "target/operation-bindings/bindings/http-operation#/shape/schema", + "@id": "target/operation-bindings/bindings/http-operation-010#/shape/schema", "@type": [ "http://www.w3.org/ns/shacl#NodeShape", "http://a.ml/vocabularies/shapes#AnyShape", @@ -57,7 +57,7 @@ ], "http://www.w3.org/ns/shacl#property": [ { - "@id": "target/operation-bindings/bindings/http-operation#/shape/schema/property/some", + "@id": "target/operation-bindings/bindings/http-operation-010#/shape/schema/property/some", "@type": [ "http://www.w3.org/ns/shacl#PropertyShape", "http://www.w3.org/ns/shacl#Shape", @@ -71,7 +71,7 @@ ], "http://a.ml/vocabularies/shapes#range": [ { - "@id": "target/operation-bindings/bindings/http-operation#/shape/schema/property/some/scalar/some", + "@id": "target/operation-bindings/bindings/http-operation-010#/shape/schema/property/some/scalar/some", "@type": [ "http://a.ml/vocabularies/shapes#ScalarShape", "http://a.ml/vocabularies/shapes#AnyShape", diff --git a/amf-cli/shared/src/test/resources/resolution/merge/operation-same-binding/golden.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/merge/operation-same-binding/golden.flattened.jsonld index deae615256..02867beb60 100644 --- a/amf-cli/shared/src/test/resources/resolution/merge/operation-same-binding/golden.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/merge/operation-same-binding/golden.flattened.jsonld @@ -28,26 +28,26 @@ ], "http://a.ml/vocabularies/apiBinding#bindings": [ { - "@id": "target/operation-bindings/http-operation" + "@id": "target/operation-bindings/http-operation-010" } ] }, { - "@id": "target/operation-bindings/http-operation", + "@id": "target/operation-bindings/http-operation-010", "@type": [ - "http://a.ml/vocabularies/apiBinding#HttpOperationBinding", + "http://a.ml/vocabularies/apiBinding#HttpOperationBinding010", "http://a.ml/vocabularies/apiBinding#OperationBinding", "http://a.ml/vocabularies/document#DomainElement" ], "http://a.ml/vocabularies/apiBinding#operationType": "traitType", "http://a.ml/vocabularies/apiBinding#query": { - "@id": "target/operation-bindings/bindings/http-operation#/shape/schema" + "@id": "target/operation-bindings/bindings/http-operation-010#/shape/schema" }, "http://a.ml/vocabularies/apiBinding#bindingVersion": "latest", "http://a.ml/vocabularies/apiBinding#type": "http" }, { - "@id": "target/operation-bindings/bindings/http-operation#/shape/schema", + "@id": "target/operation-bindings/bindings/http-operation-010#/shape/schema", "@type": [ "http://www.w3.org/ns/shacl#NodeShape", "http://a.ml/vocabularies/shapes#AnyShape", @@ -58,13 +58,13 @@ "http://www.w3.org/ns/shacl#closed": false, "http://www.w3.org/ns/shacl#property": [ { - "@id": "target/operation-bindings/bindings/http-operation#/shape/schema/property/some" + "@id": "target/operation-bindings/bindings/http-operation-010#/shape/schema/property/some" } ], "http://www.w3.org/ns/shacl#name": "schema" }, { - "@id": "target/operation-bindings/bindings/http-operation#/shape/schema/property/some", + "@id": "target/operation-bindings/bindings/http-operation-010#/shape/schema/property/some", "@type": [ "http://www.w3.org/ns/shacl#PropertyShape", "http://www.w3.org/ns/shacl#Shape", @@ -77,13 +77,13 @@ } ], "http://a.ml/vocabularies/shapes#range": { - "@id": "target/operation-bindings/bindings/http-operation#/shape/schema/property/some/scalar/some" + "@id": "target/operation-bindings/bindings/http-operation-010#/shape/schema/property/some/scalar/some" }, "http://www.w3.org/ns/shacl#minCount": 0, "http://www.w3.org/ns/shacl#name": "some" }, { - "@id": "target/operation-bindings/bindings/http-operation#/shape/schema/property/some/scalar/some", + "@id": "target/operation-bindings/bindings/http-operation-010#/shape/schema/property/some/scalar/some", "@type": [ "http://a.ml/vocabularies/shapes#ScalarShape", "http://a.ml/vocabularies/shapes#AnyShape", 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 98c394f0c7..8f857b5d0c 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 @@ -87,15 +87,13 @@ channels: publish: bindings: solace: - bindingVersion: 0.3.0 + bindingVersion: 0.2.0 destinations: - destinationType: queue queue: name: CreatedHREvents accessType: exclusive - maxMsgSpoolSize: test - maxTtl: test topicSubscriptions: - person/*/created - 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 ddbd0281ef..be34e8da28 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 @@ -112,15 +112,13 @@ channels: publish: bindings: solace: - bindingVersion: 0.3.0 + bindingVersion: 0.2.0 destinations: - destinationType: queue queue: name: CreatedHREvents accessType: exclusive - maxMsgSpoolSize: test - maxTtl: test topicSubscriptions: - person/*/created - 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 73ae3e4215..ed7dae8f8a 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 @@ -112,15 +112,13 @@ channels: publish: bindings: solace: - bindingVersion: 0.3.0 + bindingVersion: 0.2.0 destinations: - destinationType: queue queue: name: CreatedHREvents accessType: exclusive - maxMsgSpoolSize: test - maxTtl: test topicSubscriptions: - person/*/created - 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 8e769dbeb1..cee25c0432 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 @@ -119,15 +119,13 @@ channels: publish: bindings: solace: - bindingVersion: 0.3.0 + bindingVersion: 0.2.0 destinations: - destinationType: queue queue: name: CreatedHREvents accessType: exclusive - maxMsgSpoolSize: test - maxTtl: test topicSubscriptions: - person/*/created - 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 new file mode 100644 index 0000000000..7b547acb5f --- /dev/null +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/async20/bindings/google-pub-sub-binding.yaml @@ -0,0 +1,61 @@ +asyncapi: 2.5.0 +info: + title: GooglePubSub Binding test + version: 1.0.0 +servers: {} +channels: + some-channel: + bindings: + googlepubsub: + labels: + label1: label1 + label2: label2 + topic: projects/your-project/topics/topic-proto-schema + messageRetentionDuration: 86400s + messageStoragePolicy: + allowedPersistenceRegions: + - us-central1 + - us-west + schemaSettings: + encoding: binary + name: projects/your-project/schemas/messageAvro + firstRevisionId: 1.0.0 + lastRevisionId: 2.0.0 + other-channel: + bindings: + googlepubsub: + labels: + label1: label1 + label2: label2 + messageRetentionDuration: 86400s + messageStoragePolicy: + allowedPersistenceRegions: + - us-central1 + - us-west + schemaSettings: + encoding: binary + name: projects/your-project/schemas/messageAvro + firstRevisionId: 1.0.0 + lastRevisionId: 2.0.0 + bindingVersion: 0.2.0 + +components: + messages: + some-message: + bindings: + googlepubsub: + attributes: + exampleAttribute: exampleValue + orderingKey: userEventOrder + schema: + name: test name + type: avro + other-message: + bindings: + googlepubsub: + bindingVersion: 0.2.0 + attributes: + exampleAttribute: exampleValue + orderingKey: userEventOrder + schema: + name: test name diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/async20/bindings/gps-message-binding.yaml b/amf-cli/shared/src/test/resources/upanddown/cycle/async20/bindings/gps-message-binding.yaml deleted file mode 100644 index 6267f39e2b..0000000000 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/async20/bindings/gps-message-binding.yaml +++ /dev/null @@ -1,35 +0,0 @@ -asyncapi: 2.5.0 -info: - title: Simple API with GooglePubSub Message Binding - version: 1.0.0 -servers: {} -channels: - topic-proto-schema: - bindings: - googlepubsub: - labels: - label1: label1 - label2: label2 - topic: projects/your-project/topics/topic-proto-schema - messageRetentionDuration: 86400s - messageStoragePolicy: - allowedPersistenceRegions: - - us-central1 - - us-west - schemaSettings: - encoding: binary - name: projects/your-project/schemas/messageAvro - firstRevisionId: 1.0.0 - lastRevisionId: 2.0.0 -components: - messages: - messageAvro: - bindings: - googlepubsub: - attributes: - exampleAttribute: exampleValue - orderingKey: userEventOrder - bindingVersion: 0.1.0 - schema: - name: projects/your-project/schemas/message-avro - type: avro 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 8cf12a4e25..fac29324ce 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,3 +13,18 @@ channels: properties: some: type: string + + other-channel: + subscribe: + message: + bindings: + http: + bindingVersion: 0.2.0 + + some-other-channel: + subscribe: + message: + bindings: + http: + bindingVersion: 0.3.0 + statusCode: 200 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 0096f93b71..30bacc2dc4 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 @@ -7,7 +7,6 @@ channels: publish: bindings: http: - bindingVersion: 31.07.92 type: request method: TRACE query: @@ -15,3 +14,15 @@ channels: properties: some: type: string + + other-channel: + publish: + bindings: + http: + bindingVersion: 0.2.0 + method: TRACE + query: + type: object + properties: + some: + type: string \ No newline at end of file diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/async20/bindings/mqtt-message-binding.yaml b/amf-cli/shared/src/test/resources/upanddown/cycle/async20/bindings/mqtt-message-binding.yaml index 6fcd6c3e32..29a7e00b41 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/async20/bindings/mqtt-message-binding.yaml +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/async20/bindings/mqtt-message-binding.yaml @@ -8,4 +8,57 @@ channels: message: bindings: mqtt: - bindingVersion: 31.07.92 + bindingVersion: 0.1.0 + string-channel: + publish: + message: + bindings: + mqtt: + payloadFormatIndicator: 1 + correlationData: + type: object + properties: + a: + type: string + contentType: application/json + bindingVersion: latest + responseTopic: this is a string + inline-channel: + publish: + message: + bindings: + mqtt: + payloadFormatIndicator: 1 + correlationData: + type: object + properties: + a: + type: string + contentType: application/json + responseTopic: + type: object + properties: + a: + type: string + bindingVersion: latest + ref-channel: + publish: + message: + bindings: + mqtt: + payloadFormatIndicator: 1 + correlationData: + $ref: '#/components/schemas/testSchema' + contentType: application/json + responseTopic: + $ref: '#/components/schemas/testSchema' + bindingVersion: 0.2.0 + +components: + schemas: + testSchema: + type: object + properties: + eventID: + type: string + description: Unique identifier for the event. diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/async20/bindings/mqtt-message-binding.yaml.yaml b/amf-cli/shared/src/test/resources/upanddown/cycle/async20/bindings/mqtt-message-binding.yaml.yaml new file mode 100644 index 0000000000..31498c1138 --- /dev/null +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/async20/bindings/mqtt-message-binding.yaml.yaml @@ -0,0 +1,71 @@ +asyncapi: 2.0.0 +info: + title: Mqtt message binding + version: 1.0.0 +channels: + some-channel: + publish: + message: + bindings: + mqtt: + bindingVersion: 0.1.0 + string-channel: + publish: + message: + bindings: + mqtt: + payloadFormatIndicator: 1 + correlationData: + type: object + properties: + a: + type: string + contentType: application/json + bindingVersion: latest + responseTopic: this is a string + inline-channel: + publish: + message: + bindings: + mqtt: + payloadFormatIndicator: 1 + correlationData: + type: object + properties: + a: + type: string + contentType: application/json + responseTopic: + type: object + properties: + a: + type: string + bindingVersion: latest + ref-channel: + publish: + message: + bindings: + mqtt: + payloadFormatIndicator: 1 + contentType: application/json + bindingVersion: 0.2.0 + correlationData: + type: object + properties: + eventID: + type: string + description: Unique identifier for the event. + responseTopic: + type: object + properties: + eventID: + type: string + description: Unique identifier for the event. +components: + schemas: + testSchema: + type: object + properties: + eventID: + type: string + description: Unique identifier for the event. diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/async20/bindings/mqtt-operation-binding.yaml b/amf-cli/shared/src/test/resources/upanddown/cycle/async20/bindings/mqtt-operation-binding.yaml index e94161bbd1..420f26e7ea 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/async20/bindings/mqtt-operation-binding.yaml +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/async20/bindings/mqtt-operation-binding.yaml @@ -9,3 +9,29 @@ channels: mqtt: qos: 1 retain: false + other-channel: + publish: + bindings: + mqtt: + qos: 1 + retain: false + bindingVersion: 0.2.0 + messageExpiryInterval: 123 + ref-channel: + publish: + bindings: + mqtt: + qos: 1 + retain: false + bindingVersion: 0.2.0 + messageExpiryInterval: + $ref: '#/components/schemas/testSchema' + +components: + schemas: + testSchema: + type: object + properties: + eventID: + type: string + description: Unique identifier for the event. diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/async20/bindings/mqtt-operation-binding.yaml.yaml b/amf-cli/shared/src/test/resources/upanddown/cycle/async20/bindings/mqtt-operation-binding.yaml.yaml new file mode 100644 index 0000000000..da70b709a4 --- /dev/null +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/async20/bindings/mqtt-operation-binding.yaml.yaml @@ -0,0 +1,40 @@ +asyncapi: 2.0.0 +info: + title: Mqtt operation binding + version: 1.0.0 +channels: + some-channel: + publish: + bindings: + mqtt: + qos: 1 + retain: false + other-channel: + publish: + bindings: + mqtt: + qos: 1 + retain: false + bindingVersion: 0.2.0 + messageExpiryInterval: 123 + ref-channel: + publish: + bindings: + mqtt: + qos: 1 + retain: false + bindingVersion: 0.2.0 + messageExpiryInterval: + type: object + properties: + eventID: + type: string + description: Unique identifier for the event. +components: + schemas: + testSchema: + type: object + properties: + eventID: + type: string + description: Unique identifier for the event. diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/async20/bindings/mqtt-server-binding.yaml b/amf-cli/shared/src/test/resources/upanddown/cycle/async20/bindings/mqtt-server-binding.yaml index 988d006733..4c734ecbc2 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/async20/bindings/mqtt-server-binding.yaml +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/async20/bindings/mqtt-server-binding.yaml @@ -2,9 +2,10 @@ asyncapi: 2.0.0 info: title: Mqtt channel binding version: 1.0.0 -channels: {} +channels: { } servers: some-server: + protocol: mqtt url: http://some.com bindings: mqtt: @@ -16,4 +17,57 @@ servers: retain: true message: A last will message keepAlive: 12 - bindingVersion: 3.4.3 + + other-server: + protocol: mqtt + url: http://some.com + bindings: + mqtt: + clientId: someid + cleanSession: true + lastWill: + topic: some + qos: 2 + retain: true + message: A last will message + keepAlive: 12 + bindingVersion: 0.2.0 + sessionExpiryInterval: 123 + maximumPacketSize: 123 + + inline-server: + protocol: mqtt + url: http://some.com + bindings: + mqtt: + bindingVersion: 0.2.0 + sessionExpiryInterval: + type: object + properties: + a: + type: string + maximumPacketSize: + type: object + properties: + a: + type: string + + valid-reference-server: + protocol: mqtt + url: http://some.com + bindings: + mqtt: + bindingVersion: 0.2.0 + sessionExpiryInterval: + $ref: '#/components/schemas/testSchema' + maximumPacketSize: + $ref: '#/components/schemas/testSchema' + +components: + schemas: + testSchema: + type: object + properties: + eventID: + type: string + description: Unique identifier for the event. diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/async20/bindings/mqtt-server-binding.yaml.yaml b/amf-cli/shared/src/test/resources/upanddown/cycle/async20/bindings/mqtt-server-binding.yaml.yaml new file mode 100644 index 0000000000..556ed3c657 --- /dev/null +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/async20/bindings/mqtt-server-binding.yaml.yaml @@ -0,0 +1,77 @@ +asyncapi: 2.0.0 +info: + title: Mqtt channel binding + version: 1.0.0 +channels: {} +servers: + some-server: + protocol: mqtt + url: http://some.com + bindings: + mqtt: + clientId: someid + cleanSession: true + lastWill: + topic: some + qos: 2 + retain: true + message: A last will message + keepAlive: 12 + other-server: + protocol: mqtt + url: http://some.com + bindings: + mqtt: + clientId: someid + cleanSession: true + lastWill: + topic: some + qos: 2 + retain: true + message: A last will message + keepAlive: 12 + bindingVersion: 0.2.0 + sessionExpiryInterval: 123 + maximumPacketSize: 123 + inline-server: + protocol: mqtt + url: http://some.com + bindings: + mqtt: + bindingVersion: 0.2.0 + sessionExpiryInterval: + type: object + properties: + a: + type: string + maximumPacketSize: + type: object + properties: + a: + type: string + valid-reference-server: + protocol: mqtt + url: http://some.com + bindings: + mqtt: + bindingVersion: 0.2.0 + sessionExpiryInterval: + type: object + properties: + eventID: + type: string + description: Unique identifier for the event. + maximumPacketSize: + type: object + properties: + eventID: + type: string + description: Unique identifier for the event. +components: + schemas: + testSchema: + type: object + properties: + eventID: + type: string + description: Unique identifier for the event. diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/async20/bindings/solace-0.4.0-version.yaml b/amf-cli/shared/src/test/resources/upanddown/cycle/async20/bindings/solace-0.4.0-version.yaml new file mode 100644 index 0000000000..66ecaa1961 --- /dev/null +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/async20/bindings/solace-0.4.0-version.yaml @@ -0,0 +1,37 @@ +asyncapi: 2.3.0 +info: + title: test solace binding + version: 1.0.0 +servers: + theName: + url: some.com + protocol: solace + bindings: + solace: + msgVpn: test + clientName: testClient + bindingVersion: 0.4.0 +channels: + some-channel: + publish: + bindings: + solace: + bindingVersion: 0.4.0 + destinations: + - + destinationType: queue + queue: + name: CreatedHREvents + accessType: exclusive + topicSubscriptions: + - person/*/created + maxMsgSpoolSize: this is a string + maxTtl: this is a string + - + destinationType: topic + topic: + topicSubscriptions: + - person/*/updated + timeToLive: 3600000 + priority: 10 + dmqEligible: true diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/async20/bindings/solace-binding-operation.yaml b/amf-cli/shared/src/test/resources/upanddown/cycle/async20/bindings/solace-binding-operation.yaml new file mode 100644 index 0000000000..f1b163c7b4 --- /dev/null +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/async20/bindings/solace-binding-operation.yaml @@ -0,0 +1,31 @@ +asyncapi: 2.4.0 +info: + title: test solace binding + version: 1.0.0 +servers: + theName: + url: some.com + protocol: solace + bindings: + solace: + msgVpn: test + bindingVersion: 0.1.0 +channels: + some-channel: + publish: + bindings: + solace: + bindingVersion: 0.2.0 + destinations: + - + destinationType: queue + queue: + name: CreatedHREvents + accessType: test + topicSubscriptions: + - person/*/created + - + destinationType: topic + topic: + topicSubscriptions: + - person/*/updated diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/async20/bindings/solace-binding.yaml b/amf-cli/shared/src/test/resources/upanddown/cycle/async20/bindings/solace-binding.yaml index bf6fe4ac41..ed704d5a1c 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/async20/bindings/solace-binding.yaml +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/async20/bindings/solace-binding.yaml @@ -15,15 +15,13 @@ channels: publish: bindings: solace: - bindingVersion: 0.3.0 + bindingVersion: 0.2.0 destinations: - destinationType: queue queue: name: CreatedHREvents accessType: test - maxMsgSpoolSize: test - maxTtl: test topicSubscriptions: - person/*/created - diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/async20/bindings/solace-operation-queue-binding.yaml b/amf-cli/shared/src/test/resources/upanddown/cycle/async20/bindings/solace-operation-queue-binding.yaml new file mode 100644 index 0000000000..9a3a654078 --- /dev/null +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/async20/bindings/solace-operation-queue-binding.yaml @@ -0,0 +1,33 @@ +asyncapi: 2.3.0 +info: + title: test solace binding + version: 1.0.0 +servers: + theName: + url: some.com + protocol: solace + bindings: + solace: + msgVpn: test + bindingVersion: 0.3.0 +channels: + some-channel: + publish: + bindings: + solace: + bindingVersion: 0.3.0 + destinations: + - + destinationType: queue + queue: + name: CreatedHREvents + accessType: exclusive + topicSubscriptions: + - person/*/created + maxMsgSpoolSize: this is a string + maxTtl: this is a string + - + destinationType: topic + topic: + topicSubscriptions: + - person/*/updated 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 d3f3f531f2..a929526261 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 @@ -3017,12 +3017,17 @@ ], "http://a.ml/vocabularies/document#link-target": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/declares/msg/marketData/payload/default/shape/schema/shape/schema" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/declares/shape/market" } ], "http://a.ml/vocabularies/document#link-label": [ { - "@value": "#/components/schemas/market" + "@value": "market" + } + ], + "http://a.ml/vocabularies/document#recursive": [ + { + "@value": true } ], "http://www.w3.org/ns/shacl#name": [ @@ -3038,10 +3043,10 @@ ], "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ { - "@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_1", + "@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": [ { - "@value": "http://a.ml/vocabularies/document#link-target" + "@value": "http://a.ml/vocabularies/document#link-label" } ], "http://a.ml/vocabularies/document-source-maps#value": [ @@ -3054,7 +3059,20 @@ "@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_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/document#link-label" + "@value": "http://a.ml/vocabularies/document#recursive" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "true" + } + ] + }, + { + "@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_1", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "http://a.ml/vocabularies/document#link-target" } ], "http://a.ml/vocabularies/document-source-maps#value": [ 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 07a7dad8e8..f19f2595ce 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 @@ -2278,10 +2278,11 @@ ], "http://a.ml/vocabularies/document#link-target": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/declares/msg/marketData/payload/default/shape/schema/shape/schema" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/declares/shape/market" } ], - "http://a.ml/vocabularies/document#link-label": "#/components/schemas/market", + "http://a.ml/vocabularies/document#link-label": "market", + "http://a.ml/vocabularies/document#recursive": true, "http://www.w3.org/ns/shacl#name": "schema", "http://a.ml/vocabularies/document-source-maps#sources": [ { @@ -2471,10 +2472,13 @@ ], "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ { - "@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_1" + "@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" }, { "@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_0" + }, + { + "@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_1" } ], "http://a.ml/vocabularies/document-source-maps#lexical": [ @@ -2670,13 +2674,18 @@ "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/msg/marketData/payload/default/shape/schema/source-map/synthesized-field/element_1", - "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-target", + "@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", "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/payload/default/shape/schema/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#element": "http://a.ml/vocabularies/document#recursive", + "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/payload/default/shape/schema/source-map/synthesized-field/element_1", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-target", "http://a.ml/vocabularies/document-source-maps#value": "true" }, { 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 6ddda697cd..8e99171c70 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 @@ -3920,12 +3920,17 @@ ], "http://a.ml/vocabularies/document#link-target": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/declares/msg/marketData/payload/default/shape/schema/shape/schema" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/declares/shape/market" } ], "http://a.ml/vocabularies/document#link-label": [ { - "@value": "#/components/schemas/market" + "@value": "market" + } + ], + "http://a.ml/vocabularies/document#recursive": [ + { + "@value": true } ], "http://www.w3.org/ns/shacl#name": [ @@ -3941,10 +3946,10 @@ ], "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ { - "@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_1", + "@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": [ { - "@value": "http://a.ml/vocabularies/document#link-target" + "@value": "http://a.ml/vocabularies/document#link-label" } ], "http://a.ml/vocabularies/document-source-maps#value": [ @@ -3957,7 +3962,20 @@ "@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_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/document#link-label" + "@value": "http://a.ml/vocabularies/document#recursive" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "true" + } + ] + }, + { + "@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_1", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "http://a.ml/vocabularies/document#link-target" } ], "http://a.ml/vocabularies/document-source-maps#value": [ 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 6c4684edba..b6d236230a 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 @@ -2993,10 +2993,11 @@ ], "http://a.ml/vocabularies/document#link-target": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/declares/msg/marketData/payload/default/shape/schema/shape/schema" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/declares/shape/market" } ], - "http://a.ml/vocabularies/document#link-label": "#/components/schemas/market", + "http://a.ml/vocabularies/document#link-label": "market", + "http://a.ml/vocabularies/document#recursive": true, "http://www.w3.org/ns/shacl#name": "schema", "http://a.ml/vocabularies/document-source-maps#sources": [ { @@ -3186,10 +3187,13 @@ ], "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ { - "@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_1" + "@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" }, { "@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_0" + }, + { + "@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_1" } ], "http://a.ml/vocabularies/document-source-maps#lexical": [ @@ -3385,13 +3389,18 @@ "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/msg/marketData/payload/default/shape/schema/source-map/synthesized-field/element_1", - "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-target", + "@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", "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/payload/default/shape/schema/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#element": "http://a.ml/vocabularies/document#recursive", + "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/payload/default/shape/schema/source-map/synthesized-field/element_1", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-target", "http://a.ml/vocabularies/document-source-maps#value": "true" }, { 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 4a6b399859..d89135cda2 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 @@ -3272,16 +3272,17 @@ ], "http://a.ml/vocabularies/apiBinding#bindings": [ { - "@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", + "@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", "@type": [ - "http://a.ml/vocabularies/apiBinding#SolaceOperationBinding", + "http://a.ml/vocabularies/apiBinding#SolaceOperationBinding020", "http://a.ml/vocabularies/apiBinding#OperationBinding", "http://a.ml/vocabularies/document#DomainElement" ], "http://a.ml/vocabularies/apiBinding#destinations": [ { - "@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/destinations/solace-destination", + "@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", "@type": [ + "http://a.ml/vocabularies/apiBinding#SolaceOperationDestination020", "http://a.ml/vocabularies/apiBinding#SolaceOperationDestination", "http://a.ml/vocabularies/document#DomainElement" ], @@ -3297,8 +3298,9 @@ ], "http://a.ml/vocabularies/apiBinding#queue": [ { - "@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/destinations/solace-destination/solace-queue", + "@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", "@type": [ + "http://a.ml/vocabularies/apiBinding#SolaceOperationQueue010", "http://a.ml/vocabularies/apiBinding#SolaceOperationQueue", "http://a.ml/vocabularies/document#DomainElement" ], @@ -3312,64 +3314,28 @@ "@value": "exclusive" } ], - "http://a.ml/vocabularies/apiBinding#maxMsgSpoolSize": [ - { - "@value": "test" - } - ], - "http://a.ml/vocabularies/apiBinding#maxTtl": [ - { - "@value": "test" - } - ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@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/destinations/solace-destination/solace-queue/source-map", + "@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", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/forth-channel/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination/solace-queue/source-map/lexical/element_4", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "http://a.ml/vocabularies/apiBinding#maxMsgSpoolSize" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(97,16)-(98,0)]" - } - ] - }, - { - "@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/destinations/solace-destination/solace-queue/source-map/lexical/element_2", - "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/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination/solace-queue" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(94,20)-(101,0)]" - } - ] - }, - { - "@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/destinations/solace-destination/solace-queue/source-map/lexical/element_0", + "@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": [ { - "@value": "http://a.ml/vocabularies/apiBinding#maxTtl" + "@value": "http://a.ml/vocabularies/apiBinding#topicSubscriptions" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(98,16)-(99,0)]" + "@value": "[(97,16)-(99,0)]" } ] }, { - "@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/destinations/solace-destination/solace-queue/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/supportedOperation/publish/operation-bindings/bindings/solace-operation-020/destinations/solace-operation-destination-020/solace-operation-queue-010/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#accessType" @@ -3382,15 +3348,15 @@ ] }, { - "@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/destinations/solace-destination/solace-queue/source-map/lexical/element_3", + "@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_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiBinding#topicSubscriptions" + "@value": "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" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(99,16)-(101,0)]" + "@value": "[(94,20)-(99,0)]" } ] } @@ -3401,13 +3367,13 @@ ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@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/destinations/solace-destination/source-map", + "@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/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/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/forth-channel/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination/source-map/synthesized-field/element_0", + "@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/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#deliveryMode" @@ -3422,7 +3388,7 @@ ], "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/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination/source-map/lexical/element_2", + "@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/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#destinationType" @@ -3435,7 +3401,7 @@ ] }, { - "@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/destinations/solace-destination/source-map/lexical/element_0", + "@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/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#queue" @@ -3443,20 +3409,20 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(94,14)-(101,0)]" + "@value": "[(94,14)-(99,0)]" } ] }, { - "@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/destinations/solace-destination/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/supportedOperation/publish/operation-bindings/bindings/solace-operation-020/destinations/solace-operation-destination-020/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/forth-channel/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination" + "@value": "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" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(93,0)-(101,0)]" + "@value": "[(93,0)-(99,0)]" } ] } @@ -3465,8 +3431,9 @@ ] }, { - "@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/destinations/solace-destination_1", + "@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_1", "@type": [ + "http://a.ml/vocabularies/apiBinding#SolaceOperationDestination020", "http://a.ml/vocabularies/apiBinding#SolaceOperationDestination", "http://a.ml/vocabularies/document#DomainElement" ], @@ -3482,7 +3449,7 @@ ], "http://a.ml/vocabularies/apiBinding#topic": [ { - "@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/destinations/solace-destination_1/solace-topic", + "@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_1/solace-topic", "@type": [ "http://a.ml/vocabularies/apiBinding#SolaceOperationTopic", "http://a.ml/vocabularies/document#DomainElement" @@ -3494,26 +3461,26 @@ ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@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/destinations/solace-destination_1/solace-topic/source-map", + "@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_1/solace-topic/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/forth-channel/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination_1/solace-topic/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/supportedOperation/publish/operation-bindings/bindings/solace-operation-020/destinations/solace-operation-destination-020_1/solace-topic/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/forth-channel/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination_1/solace-topic" + "@value": "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_1/solace-topic" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(103,20)-(106,0)]" + "@value": "[(101,20)-(104,0)]" } ] }, { - "@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/destinations/solace-destination_1/solace-topic/source-map/lexical/element_0", + "@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_1/solace-topic/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#topicSubscriptions" @@ -3521,7 +3488,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(104,16)-(106,0)]" + "@value": "[(102,16)-(104,0)]" } ] } @@ -3532,13 +3499,13 @@ ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@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/destinations/solace-destination_1/source-map", + "@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_1/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/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/forth-channel/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination_1/source-map/synthesized-field/element_0", + "@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_1/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#deliveryMode" @@ -3553,7 +3520,7 @@ ], "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/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination_1/source-map/lexical/element_2", + "@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_1/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#destinationType" @@ -3561,12 +3528,12 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(102,14)-(103,0)]" + "@value": "[(100,14)-(101,0)]" } ] }, { - "@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/destinations/solace-destination_1/source-map/lexical/element_0", + "@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_1/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#topic" @@ -3574,20 +3541,20 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(103,14)-(106,0)]" + "@value": "[(101,14)-(104,0)]" } ] }, { - "@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/destinations/solace-destination_1/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/supportedOperation/publish/operation-bindings/bindings/solace-operation-020/destinations/solace-operation-destination-020_1/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/forth-channel/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination_1" + "@value": "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_1" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(102,0)-(106,0)]" + "@value": "[(100,0)-(104,0)]" } ] } @@ -3598,7 +3565,7 @@ ], "http://a.ml/vocabularies/apiBinding#bindingVersion": [ { - "@value": "0.3.0" + "@value": "0.2.0" } ], "http://a.ml/vocabularies/apiBinding#type": [ @@ -3608,13 +3575,13 @@ ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@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/source-map", + "@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/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/forth-channel/supportedOperation/publish/operation-bindings/bindings/solace-operation/source-map/lexical/element_3", + "@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/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#bindingVersion" @@ -3627,7 +3594,7 @@ ] }, { - "@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/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/supportedOperation/publish/operation-bindings/bindings/solace-operation-020/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#destinations" @@ -3635,12 +3602,12 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(91,10)-(106,0)]" + "@value": "[(91,10)-(104,0)]" } ] }, { - "@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/source-map/lexical/element_0", + "@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/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#type" @@ -3653,15 +3620,15 @@ ] }, { - "@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/source-map/lexical/element_2", + "@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/source-map/lexical/element_2", "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/supportedOperation/publish/operation-bindings/bindings/solace-operation" + "@value": "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" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(89,8)-(106,0)]" + "@value": "[(89,8)-(104,0)]" } ] } @@ -3686,7 +3653,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(89,0)-(106,0)]" + "@value": "[(89,0)-(104,0)]" } ] }, @@ -3699,7 +3666,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(89,0)-(106,0)]" + "@value": "[(89,0)-(104,0)]" } ] } @@ -3724,7 +3691,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(87,4)-(106,0)]" + "@value": "[(87,4)-(104,0)]" } ] }, @@ -3737,7 +3704,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(88,6)-(106,0)]" + "@value": "[(88,6)-(104,0)]" } ] } @@ -3762,7 +3729,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(86,2)-(106,0)]" + "@value": "[(86,2)-(104,0)]" } ] }, @@ -3775,7 +3742,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(87,0)-(106,0)]" + "@value": "[(87,0)-(104,0)]" } ] } @@ -3813,7 +3780,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(1,0)-(130,0)]" + "@value": "[(1,0)-(128,0)]" } ] }, @@ -3839,7 +3806,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(17,0)-(106,0)]" + "@value": "[(17,0)-(104,0)]" } ] }, @@ -3962,7 +3929,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(129,10)-(129,14)]" + "@value": "[(127,10)-(127,14)]" } ] } @@ -3977,7 +3944,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(128,8)-(130,0)]" + "@value": "[(126,8)-(128,0)]" } ] }, @@ -3990,7 +3957,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(129,10)-(130,0)]" + "@value": "[(127,10)-(128,0)]" } ] } @@ -4040,7 +4007,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(128,8)-(130,0)]" + "@value": "[(126,8)-(128,0)]" } ] } @@ -4085,7 +4052,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(126,6)-(126,10)]" + "@value": "[(124,6)-(124,10)]" } ] } @@ -4100,7 +4067,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(127,6)-(130,0)]" + "@value": "[(125,6)-(128,0)]" } ] }, @@ -4113,7 +4080,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(125,4)-(125,10)]" + "@value": "[(123,4)-(123,10)]" } ] }, @@ -4126,7 +4093,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(125,4)-(130,0)]" + "@value": "[(123,4)-(128,0)]" } ] } @@ -4185,12 +4152,17 @@ ], "http://a.ml/vocabularies/document#link-target": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/declares/msg/marketData/payload/default/shape/schema/shape/schema" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/declares/shape/market" } ], "http://a.ml/vocabularies/document#link-label": [ { - "@value": "#/components/schemas/market" + "@value": "market" + } + ], + "http://a.ml/vocabularies/document#recursive": [ + { + "@value": true } ], "http://www.w3.org/ns/shacl#name": [ @@ -4206,10 +4178,10 @@ ], "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ { - "@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_1", + "@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": [ { - "@value": "http://a.ml/vocabularies/document#link-target" + "@value": "http://a.ml/vocabularies/document#link-label" } ], "http://a.ml/vocabularies/document-source-maps#value": [ @@ -4222,7 +4194,20 @@ "@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_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/document#link-label" + "@value": "http://a.ml/vocabularies/document#recursive" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "true" + } + ] + }, + { + "@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_1", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "http://a.ml/vocabularies/document#link-target" } ], "http://a.ml/vocabularies/document-source-maps#value": [ @@ -4242,7 +4227,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(113,6)-(115,0)]" + "@value": "[(111,6)-(113,0)]" } ] } @@ -4267,7 +4252,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(109,0)-(124,0)]" + "@value": "[(107,0)-(122,0)]" } ] }, @@ -4280,7 +4265,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(113,6)-(115,0)]" + "@value": "[(111,6)-(113,0)]" } ] } @@ -4401,7 +4386,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(120,20)-(120,27)]" + "@value": "[(118,20)-(118,27)]" } ] } @@ -4477,7 +4462,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(121,20)-(121,26)]" + "@value": "[(119,20)-(119,26)]" } ] } @@ -4522,7 +4507,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(120,12)-(121,0)]" + "@value": "[(118,12)-(119,0)]" } ] }, @@ -4535,7 +4520,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(121,12)-(122,0)]" + "@value": "[(119,12)-(120,0)]" } ] }, @@ -4548,7 +4533,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(120,0)-(122,0)]" + "@value": "[(118,0)-(120,0)]" } ] } @@ -4606,7 +4591,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(117,10)-(118,0)]" + "@value": "[(115,10)-(116,0)]" } ] }, @@ -4619,7 +4604,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(118,10)-(119,0)]" + "@value": "[(116,10)-(117,0)]" } ] }, @@ -4632,7 +4617,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(119,18)-(122,0)]" + "@value": "[(117,18)-(120,0)]" } ] } @@ -4758,7 +4743,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(123,27)-(123,38)]" + "@value": "[(121,27)-(121,38)]" } ] } @@ -4803,7 +4788,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(123,0)-(124,0)]" + "@value": "[(121,0)-(122,0)]" } ] }, @@ -4816,7 +4801,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(123,12)-(124,0)]" + "@value": "[(121,12)-(122,0)]" } ] } @@ -4874,7 +4859,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(117,10)-(118,0)]" + "@value": "[(115,10)-(116,0)]" } ] }, @@ -4887,7 +4872,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(118,10)-(119,0)]" + "@value": "[(116,10)-(117,0)]" } ] }, @@ -4900,7 +4885,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(122,18)-(124,0)]" + "@value": "[(120,18)-(122,0)]" } ] } @@ -4955,7 +4940,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(109,6)-(110,0)]" + "@value": "[(107,6)-(108,0)]" } ] }, @@ -4968,7 +4953,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(108,4)-(124,0)]" + "@value": "[(106,4)-(122,0)]" } ] }, @@ -4981,7 +4966,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(110,6)-(111,0)]" + "@value": "[(108,6)-(109,0)]" } ] }, @@ -4994,7 +4979,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(111,6)-(113,0)]" + "@value": "[(109,6)-(111,0)]" } ] }, @@ -5007,7 +4992,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(108,4)-(108,14)]" + "@value": "[(106,4)-(106,14)]" } ] } 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 439b26e196..b42bba14d6 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 @@ -396,7 +396,7 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api", - "http://a.ml/vocabularies/document-source-maps#value": "[(1,0)-(130,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(1,0)-(128,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/source-map/lexical/element_1", @@ -406,7 +406,7 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#endpoint", - "http://a.ml/vocabularies/document-source-maps#value": "[(17,0)-(106,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(17,0)-(104,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/source-map/lexical/element_2", @@ -756,7 +756,7 @@ ], "http://a.ml/vocabularies/apiBinding#bindings": [ { - "@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" + "@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" } ], "http://a.ml/vocabularies/document-source-maps#sources": [ @@ -782,12 +782,12 @@ { "@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)-(106,0)]" + "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/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)-(106,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(87,0)-(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", @@ -1203,25 +1203,25 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(67,0)-(71,0)]" }, { - "@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", + "@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", "@type": [ - "http://a.ml/vocabularies/apiBinding#SolaceOperationBinding", + "http://a.ml/vocabularies/apiBinding#SolaceOperationBinding020", "http://a.ml/vocabularies/apiBinding#OperationBinding", "http://a.ml/vocabularies/document#DomainElement" ], "http://a.ml/vocabularies/apiBinding#destinations": [ { - "@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/destinations/solace-destination" + "@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" }, { - "@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/destinations/solace-destination_1" + "@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_1" } ], - "http://a.ml/vocabularies/apiBinding#bindingVersion": "0.3.0", + "http://a.ml/vocabularies/apiBinding#bindingVersion": "0.2.0", "http://a.ml/vocabularies/apiBinding#type": "solace", "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@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/source-map" + "@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/source-map" } ] }, @@ -1242,12 +1242,12 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/forth-channel/supportedOperation/publish/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/supportedOperation/publish", - "http://a.ml/vocabularies/document-source-maps#value": "[(87,4)-(106,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(87,4)-(104,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/forth-channel/supportedOperation/publish/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": "[(88,6)-(106,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(88,6)-(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/synthesized-field/element_0", @@ -1743,68 +1743,70 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(68,8)-(69,0)]" }, { - "@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/destinations/solace-destination", + "@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", "@type": [ + "http://a.ml/vocabularies/apiBinding#SolaceOperationDestination020", "http://a.ml/vocabularies/apiBinding#SolaceOperationDestination", "http://a.ml/vocabularies/document#DomainElement" ], "http://a.ml/vocabularies/apiBinding#destinationType": "queue", "http://a.ml/vocabularies/apiBinding#deliveryMode": "persistent", "http://a.ml/vocabularies/apiBinding#queue": { - "@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/destinations/solace-destination/solace-queue" + "@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" }, "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@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/destinations/solace-destination/source-map" + "@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/source-map" } ] }, { - "@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/destinations/solace-destination_1", + "@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_1", "@type": [ + "http://a.ml/vocabularies/apiBinding#SolaceOperationDestination020", "http://a.ml/vocabularies/apiBinding#SolaceOperationDestination", "http://a.ml/vocabularies/document#DomainElement" ], "http://a.ml/vocabularies/apiBinding#destinationType": "topic", "http://a.ml/vocabularies/apiBinding#deliveryMode": "persistent", "http://a.ml/vocabularies/apiBinding#topic": { - "@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/destinations/solace-destination_1/solace-topic" + "@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_1/solace-topic" }, "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@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/destinations/solace-destination_1/source-map" + "@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_1/source-map" } ] }, { - "@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/source-map", + "@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/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/forth-channel/supportedOperation/publish/operation-bindings/bindings/solace-operation/source-map/lexical/element_3" + "@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/source-map/lexical/element_3" }, { - "@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/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/supportedOperation/publish/operation-bindings/bindings/solace-operation-020/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/supportedOperation/publish/operation-bindings/bindings/solace-operation/source-map/lexical/element_0" + "@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/source-map/lexical/element_0" }, { - "@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/source-map/lexical/element_2" + "@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/source-map/lexical/element_2" } ] }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/forth-channel/supportedOperation/publish/operation-bindings/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/supportedOperation/publish/operation-bindings", - "http://a.ml/vocabularies/document-source-maps#value": "[(89,0)-(106,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(89,0)-(104,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/forth-channel/supportedOperation/publish/operation-bindings/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#bindings", - "http://a.ml/vocabularies/document-source-maps#value": "[(89,0)-(106,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(89,0)-(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", @@ -2220,8 +2222,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(74,8)-(74,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/destinations/solace-destination/solace-queue", + "@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", "@type": [ + "http://a.ml/vocabularies/apiBinding#SolaceOperationQueue010", "http://a.ml/vocabularies/apiBinding#SolaceOperationQueue", "http://a.ml/vocabularies/document#DomainElement" ], @@ -2229,38 +2232,36 @@ "person/*/created" ], "http://a.ml/vocabularies/apiBinding#accessType": "exclusive", - "http://a.ml/vocabularies/apiBinding#maxMsgSpoolSize": "test", - "http://a.ml/vocabularies/apiBinding#maxTtl": "test", "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@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/destinations/solace-destination/solace-queue/source-map" + "@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" } ] }, { - "@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/destinations/solace-destination/source-map", + "@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/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/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/forth-channel/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination/source-map/synthesized-field/element_0" + "@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/source-map/synthesized-field/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/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination/source-map/lexical/element_2" + "@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/source-map/lexical/element_2" }, { - "@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/destinations/solace-destination/source-map/lexical/element_0" + "@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/source-map/lexical/element_0" }, { - "@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/destinations/solace-destination/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/supportedOperation/publish/operation-bindings/bindings/solace-operation-020/destinations/solace-operation-destination-020/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/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination_1/solace-topic", + "@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_1/solace-topic", "@type": [ "http://a.ml/vocabularies/apiBinding#SolaceOperationTopic", "http://a.ml/vocabularies/document#DomainElement" @@ -2270,51 +2271,51 @@ ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@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/destinations/solace-destination_1/solace-topic/source-map" + "@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_1/solace-topic/source-map" } ] }, { - "@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/destinations/solace-destination_1/source-map", + "@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_1/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/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/forth-channel/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination_1/source-map/synthesized-field/element_0" + "@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_1/source-map/synthesized-field/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/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination_1/source-map/lexical/element_2" + "@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_1/source-map/lexical/element_2" }, { - "@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/destinations/solace-destination_1/source-map/lexical/element_0" + "@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_1/source-map/lexical/element_0" }, { - "@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/destinations/solace-destination_1/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/supportedOperation/publish/operation-bindings/bindings/solace-operation-020/destinations/solace-operation-destination-020_1/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/supportedOperation/publish/operation-bindings/bindings/solace-operation/source-map/lexical/element_3", + "@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/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#bindingVersion", "http://a.ml/vocabularies/document-source-maps#value": "[(90,10)-(91,0)]" }, { - "@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/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/supportedOperation/publish/operation-bindings/bindings/solace-operation-020/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#destinations", - "http://a.ml/vocabularies/document-source-maps#value": "[(91,10)-(106,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(91,10)-(104,0)]" }, { - "@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/source-map/lexical/element_0", + "@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/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#type", "http://a.ml/vocabularies/document-source-maps#value": "[(89,8)-(89,14)]" }, { - "@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/source-map/lexical/element_2", - "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/supportedOperation/publish/operation-bindings/bindings/solace-operation", - "http://a.ml/vocabularies/document-source-maps#value": "[(89,8)-(106,0)]" + "@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/source-map/lexical/element_2", + "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/supportedOperation/publish/operation-bindings/bindings/solace-operation-020", + "http://a.ml/vocabularies/document-source-maps#value": "[(89,8)-(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", @@ -2599,81 +2600,75 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(77,10)-(84,0)]" }, { - "@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/destinations/solace-destination/solace-queue/source-map", + "@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", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/forth-channel/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination/solace-queue/source-map/lexical/element_4" + "@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" }, { - "@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/destinations/solace-destination/solace-queue/source-map/lexical/element_2" + "@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_0" }, { - "@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/destinations/solace-destination/solace-queue/source-map/lexical/element_0" - }, - { - "@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/destinations/solace-destination/solace-queue/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/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination/solace-queue/source-map/lexical/element_3" + "@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_1" } ] }, { - "@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/destinations/solace-destination/source-map/synthesized-field/element_0", + "@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/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#deliveryMode", "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/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination/source-map/lexical/element_2", + "@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/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#destinationType", "http://a.ml/vocabularies/document-source-maps#value": "[(93,14)-(94,0)]" }, { - "@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/destinations/solace-destination/source-map/lexical/element_0", + "@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/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#queue", - "http://a.ml/vocabularies/document-source-maps#value": "[(94,14)-(101,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(94,14)-(99,0)]" }, { - "@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/destinations/solace-destination/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/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination", - "http://a.ml/vocabularies/document-source-maps#value": "[(93,0)-(101,0)]" + "@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/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/supportedOperation/publish/operation-bindings/bindings/solace-operation-020/destinations/solace-operation-destination-020", + "http://a.ml/vocabularies/document-source-maps#value": "[(93,0)-(99,0)]" }, { - "@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/destinations/solace-destination_1/solace-topic/source-map", + "@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_1/solace-topic/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/forth-channel/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination_1/solace-topic/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/supportedOperation/publish/operation-bindings/bindings/solace-operation-020/destinations/solace-operation-destination-020_1/solace-topic/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/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination_1/solace-topic/source-map/lexical/element_0" + "@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_1/solace-topic/source-map/lexical/element_0" } ] }, { - "@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/destinations/solace-destination_1/source-map/synthesized-field/element_0", + "@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_1/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#deliveryMode", "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/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination_1/source-map/lexical/element_2", + "@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_1/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#destinationType", - "http://a.ml/vocabularies/document-source-maps#value": "[(102,14)-(103,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(100,14)-(101,0)]" }, { - "@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/destinations/solace-destination_1/source-map/lexical/element_0", + "@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_1/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#topic", - "http://a.ml/vocabularies/document-source-maps#value": "[(103,14)-(106,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(101,14)-(104,0)]" }, { - "@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/destinations/solace-destination_1/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/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination_1", - "http://a.ml/vocabularies/document-source-maps#value": "[(102,0)-(106,0)]" + "@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_1/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/supportedOperation/publish/operation-bindings/bindings/solace-operation-020/destinations/solace-operation-destination-020_1", + "http://a.ml/vocabularies/document-source-maps#value": "[(100,0)-(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", @@ -2807,39 +2802,29 @@ "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/destinations/solace-destination/solace-queue/source-map/lexical/element_4", - "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#maxMsgSpoolSize", - "http://a.ml/vocabularies/document-source-maps#value": "[(97,16)-(98,0)]" - }, - { - "@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/destinations/solace-destination/solace-queue/source-map/lexical/element_2", - "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/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination/solace-queue", - "http://a.ml/vocabularies/document-source-maps#value": "[(94,20)-(101,0)]" - }, - { - "@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/destinations/solace-destination/solace-queue/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#maxTtl", - "http://a.ml/vocabularies/document-source-maps#value": "[(98,16)-(99,0)]" + "@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", + "http://a.ml/vocabularies/document-source-maps#value": "[(97,16)-(99,0)]" }, { - "@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/destinations/solace-destination/solace-queue/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/supportedOperation/publish/operation-bindings/bindings/solace-operation-020/destinations/solace-operation-destination-020/solace-operation-queue-010/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#accessType", "http://a.ml/vocabularies/document-source-maps#value": "[(96,16)-(97,0)]" }, { - "@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/destinations/solace-destination/solace-queue/source-map/lexical/element_3", - "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#topicSubscriptions", - "http://a.ml/vocabularies/document-source-maps#value": "[(99,16)-(101,0)]" + "@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_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/supportedOperation/publish/operation-bindings/bindings/solace-operation-020/destinations/solace-operation-destination-020/solace-operation-queue-010", + "http://a.ml/vocabularies/document-source-maps#value": "[(94,20)-(99,0)]" }, { - "@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/destinations/solace-destination_1/solace-topic/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/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination_1/solace-topic", - "http://a.ml/vocabularies/document-source-maps#value": "[(103,20)-(106,0)]" + "@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_1/solace-topic/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/supportedOperation/publish/operation-bindings/bindings/solace-operation-020/destinations/solace-operation-destination-020_1/solace-topic", + "http://a.ml/vocabularies/document-source-maps#value": "[(101,20)-(104,0)]" }, { - "@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/destinations/solace-destination_1/solace-topic/source-map/lexical/element_0", + "@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_1/solace-topic/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#topicSubscriptions", - "http://a.ml/vocabularies/document-source-maps#value": "[(104,16)-(106,0)]" + "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", @@ -3167,22 +3152,22 @@ { "@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#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": "[(126,6)-(126,10)]" + "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/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": "[(127,6)-(130,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(125,6)-(128,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/declares/shape/market/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": "[(125,4)-(125,10)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(123,4)-(123,10)]" }, { "@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#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": "[(125,4)-(130,0)]" + "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", @@ -3200,10 +3185,11 @@ ], "http://a.ml/vocabularies/document#link-target": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/declares/msg/marketData/payload/default/shape/schema/shape/schema" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/declares/shape/market" } ], - "http://a.ml/vocabularies/document#link-label": "#/components/schemas/market", + "http://a.ml/vocabularies/document#link-label": "market", + "http://a.ml/vocabularies/document#recursive": true, "http://www.w3.org/ns/shacl#name": "schema", "http://a.ml/vocabularies/document-source-maps#sources": [ { @@ -3330,27 +3316,27 @@ { "@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", - "http://a.ml/vocabularies/document-source-maps#value": "[(109,6)-(110,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(107,6)-(108,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/declares/msg/marketData/source-map/lexical/element_2", "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": "[(108,4)-(124,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(106,4)-(122,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/declares/msg/marketData/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#summary", - "http://a.ml/vocabularies/document-source-maps#value": "[(110,6)-(111,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(108,6)-(109,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/declares/msg/marketData/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#description", - "http://a.ml/vocabularies/document-source-maps#value": "[(111,6)-(113,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(109,6)-(111,0)]" }, { "@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#element": "http://a.ml/vocabularies/core#name", - "http://a.ml/vocabularies/document-source-maps#value": "[(108,4)-(108,14)]" + "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", @@ -3384,7 +3370,7 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/declares/shape/market/property/property/type/source-map/lexical/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", - "http://a.ml/vocabularies/document-source-maps#value": "[(128,8)-(130,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(126,8)-(128,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/declares/msg/marketData/payload/default/shape/schema/source-map", @@ -3393,10 +3379,13 @@ ], "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ { - "@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_1" + "@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" }, { "@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_0" + }, + { + "@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_1" } ], "http://a.ml/vocabularies/document-source-maps#lexical": [ @@ -3408,12 +3397,12 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/declares/msg/marketData/payload/default/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/msg/marketData/payload/default", - "http://a.ml/vocabularies/document-source-maps#value": "[(109,0)-(124,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(107,0)-(122,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/declares/msg/marketData/payload/default/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(113,6)-(115,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(111,6)-(113,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/declares/msg/marketData/examples/example/default-example_2/object_1/userId", @@ -3490,17 +3479,17 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/declares/msg/marketData/examples/example/default-example_2/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#displayName", - "http://a.ml/vocabularies/document-source-maps#value": "[(117,10)-(118,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(115,10)-(116,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/declares/msg/marketData/examples/example/default-example_2/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": "[(118,10)-(119,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(116,10)-(117,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/declares/msg/marketData/examples/example/default-example_2/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/msg/marketData/examples/example/default-example_2", - "http://a.ml/vocabularies/document-source-maps#value": "[(119,18)-(122,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(117,18)-(120,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/declares/msg/marketData/examples/example/default-example_2/source-map/tracked-element/element_0", @@ -3559,17 +3548,17 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/declares/msg/marketData/headerExamples/example/default-example_1/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#displayName", - "http://a.ml/vocabularies/document-source-maps#value": "[(117,10)-(118,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(115,10)-(116,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/declares/msg/marketData/headerExamples/example/default-example_1/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": "[(118,10)-(119,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(116,10)-(117,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/declares/msg/marketData/headerExamples/example/default-example_1/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/msg/marketData/headerExamples/example/default-example_1", - "http://a.ml/vocabularies/document-source-maps#value": "[(122,18)-(124,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(120,18)-(122,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/declares/msg/marketData/headerExamples/example/default-example_1/source-map/tracked-element/element_0", @@ -3579,32 +3568,37 @@ { "@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": "[(129,10)-(129,14)]" + "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", - "http://a.ml/vocabularies/document-source-maps#value": "[(128,8)-(130,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(126,8)-(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/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": "[(129,10)-(130,0)]" + "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/msg/marketData/payload/default/shape/schema/source-map/synthesized-field/element_1", - "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-target", + "@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", "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/payload/default/shape/schema/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#element": "http://a.ml/vocabularies/document#recursive", + "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/payload/default/shape/schema/source-map/synthesized-field/element_1", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-target", "http://a.ml/vocabularies/document-source-maps#value": "true" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/declares/msg/marketData/payload/default/shape/schema/source-map/lexical/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/payload/default/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(113,6)-(115,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(111,6)-(113,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/declares/msg/marketData/examples/example/default-example_2/object_1/userId/source-map", @@ -3652,17 +3646,17 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/declares/msg/marketData/examples/example/default-example_2/object_1/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/data#userId", - "http://a.ml/vocabularies/document-source-maps#value": "[(120,12)-(121,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(118,12)-(119,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/declares/msg/marketData/examples/example/default-example_2/object_1/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/data#status", - "http://a.ml/vocabularies/document-source-maps#value": "[(121,12)-(122,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(119,12)-(120,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/declares/msg/marketData/examples/example/default-example_2/object_1/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/msg/marketData/examples/example/default-example_2/object_1", - "http://a.ml/vocabularies/document-source-maps#value": "[(120,0)-(122,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(118,0)-(120,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/declares/msg/marketData/headerExamples/example/default-example_1/object_1/exampleHeader/source-map", @@ -3691,12 +3685,12 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/declares/msg/marketData/headerExamples/example/default-example_1/object_1/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/msg/marketData/headerExamples/example/default-example_1/object_1", - "http://a.ml/vocabularies/document-source-maps#value": "[(123,0)-(124,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(121,0)-(122,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/declares/msg/marketData/headerExamples/example/default-example_1/object_1/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/data#exampleHeader", - "http://a.ml/vocabularies/document-source-maps#value": "[(123,12)-(124,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(121,12)-(122,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/declares/msg/marketData/examples/example/default-example_2/object_1/userId/source-map/synthesized-field/element_1", @@ -3711,7 +3705,7 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/declares/msg/marketData/examples/example/default-example_2/object_1/userId/source-map/lexical/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/examples/example/default-example_2/object_1/userId", - "http://a.ml/vocabularies/document-source-maps#value": "[(120,20)-(120,27)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(118,20)-(118,27)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/declares/msg/marketData/examples/example/default-example_2/object_1/status/source-map/synthesized-field/element_1", @@ -3726,7 +3720,7 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/declares/msg/marketData/examples/example/default-example_2/object_1/status/source-map/lexical/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/examples/example/default-example_2/object_1/status", - "http://a.ml/vocabularies/document-source-maps#value": "[(121,20)-(121,26)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(119,20)-(119,26)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/declares/msg/marketData/headerExamples/example/default-example_1/object_1/exampleHeader/source-map/synthesized-field/element_1", @@ -3741,7 +3735,7 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/declares/msg/marketData/headerExamples/example/default-example_1/object_1/exampleHeader/source-map/lexical/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/headerExamples/example/default-example_1/object_1/exampleHeader", - "http://a.ml/vocabularies/document-source-maps#value": "[(123,27)-(123,38)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(121,27)-(121,38)]" } ] } diff --git a/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml b/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml index 98c394f0c7..8f857b5d0c 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml +++ b/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml @@ -87,15 +87,13 @@ channels: publish: bindings: solace: - bindingVersion: 0.3.0 + bindingVersion: 0.2.0 destinations: - destinationType: queue queue: name: CreatedHREvents accessType: exclusive - maxMsgSpoolSize: test - maxTtl: test topicSubscriptions: - person/*/created - 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 8a10786ec0..3d8dcccb8c 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 @@ -760,7 +760,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(172,12)-(173,0)]" + "@value": "[(170,12)-(171,0)]" } ] } @@ -800,7 +800,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(173,12)-(174,0)]" + "@value": "[(171,12)-(172,0)]" } ] } @@ -825,7 +825,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(170,10)-(171,0)]" + "@value": "[(168,10)-(169,0)]" } ] }, @@ -838,7 +838,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(168,8)-(174,0)]" + "@value": "[(166,8)-(172,0)]" } ] }, @@ -851,7 +851,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(171,10)-(174,0)]" + "@value": "[(169,10)-(172,0)]" } ] }, @@ -864,7 +864,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(168,8)-(168,16)]" + "@value": "[(166,8)-(166,16)]" } ] }, @@ -877,7 +877,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(169,10)-(170,0)]" + "@value": "[(167,10)-(168,0)]" } ] } @@ -902,7 +902,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(165,0)-(174,0)]" + "@value": "[(163,0)-(172,0)]" } ] }, @@ -915,7 +915,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(167,12)-(174,0)]" + "@value": "[(165,12)-(172,0)]" } ] } @@ -955,7 +955,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(166,6)-(167,0)]" + "@value": "[(164,6)-(165,0)]" } ] }, @@ -968,7 +968,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(164,4)-(174,0)]" + "@value": "[(162,4)-(172,0)]" } ] }, @@ -981,7 +981,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(165,0)-(174,0)]" + "@value": "[(163,0)-(172,0)]" } ] }, @@ -994,7 +994,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(165,6)-(166,0)]" + "@value": "[(163,6)-(164,0)]" } ] }, @@ -1007,7 +1007,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(164,4)-(164,10)]" + "@value": "[(162,4)-(162,10)]" } ] } @@ -2874,7 +2874,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(172,12)-(173,0)]" + "@value": "[(170,12)-(171,0)]" } ] } @@ -2914,7 +2914,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(173,12)-(174,0)]" + "@value": "[(171,12)-(172,0)]" } ] } @@ -2939,7 +2939,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(170,10)-(171,0)]" + "@value": "[(168,10)-(169,0)]" } ] }, @@ -2952,7 +2952,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(168,8)-(174,0)]" + "@value": "[(166,8)-(172,0)]" } ] }, @@ -2965,7 +2965,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(171,10)-(174,0)]" + "@value": "[(169,10)-(172,0)]" } ] }, @@ -2978,7 +2978,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(168,8)-(168,16)]" + "@value": "[(166,8)-(166,16)]" } ] }, @@ -2991,7 +2991,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(169,10)-(170,0)]" + "@value": "[(167,10)-(168,0)]" } ] } @@ -3016,7 +3016,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(165,0)-(174,0)]" + "@value": "[(163,0)-(172,0)]" } ] }, @@ -3029,7 +3029,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(167,12)-(174,0)]" + "@value": "[(165,12)-(172,0)]" } ] } @@ -3069,7 +3069,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(166,6)-(167,0)]" + "@value": "[(164,6)-(165,0)]" } ] }, @@ -3082,7 +3082,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(164,4)-(174,0)]" + "@value": "[(162,4)-(172,0)]" } ] }, @@ -3095,7 +3095,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(165,0)-(174,0)]" + "@value": "[(163,0)-(172,0)]" } ] }, @@ -3108,7 +3108,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(165,6)-(166,0)]" + "@value": "[(163,6)-(164,0)]" } ] }, @@ -3121,7 +3121,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(164,4)-(164,10)]" + "@value": "[(162,4)-(162,10)]" } ] } @@ -5230,16 +5230,17 @@ ], "http://a.ml/vocabularies/apiBinding#bindings": [ { - "@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", + "@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", "@type": [ - "http://a.ml/vocabularies/apiBinding#SolaceOperationBinding", + "http://a.ml/vocabularies/apiBinding#SolaceOperationBinding020", "http://a.ml/vocabularies/apiBinding#OperationBinding", "http://a.ml/vocabularies/document#DomainElement" ], "http://a.ml/vocabularies/apiBinding#destinations": [ { - "@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/destinations/solace-destination", + "@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", "@type": [ + "http://a.ml/vocabularies/apiBinding#SolaceOperationDestination020", "http://a.ml/vocabularies/apiBinding#SolaceOperationDestination", "http://a.ml/vocabularies/document#DomainElement" ], @@ -5255,8 +5256,9 @@ ], "http://a.ml/vocabularies/apiBinding#queue": [ { - "@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/destinations/solace-destination/solace-queue", + "@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", "@type": [ + "http://a.ml/vocabularies/apiBinding#SolaceOperationQueue010", "http://a.ml/vocabularies/apiBinding#SolaceOperationQueue", "http://a.ml/vocabularies/document#DomainElement" ], @@ -5270,64 +5272,28 @@ "@value": "exclusive" } ], - "http://a.ml/vocabularies/apiBinding#maxMsgSpoolSize": [ - { - "@value": "test" - } - ], - "http://a.ml/vocabularies/apiBinding#maxTtl": [ - { - "@value": "test" - } - ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@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/destinations/solace-destination/solace-queue/source-map", + "@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", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/forth-channel/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination/solace-queue/source-map/lexical/element_4", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "http://a.ml/vocabularies/apiBinding#maxMsgSpoolSize" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(122,16)-(123,0)]" - } - ] - }, - { - "@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/destinations/solace-destination/solace-queue/source-map/lexical/element_2", - "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/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination/solace-queue" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(119,20)-(126,0)]" - } - ] - }, - { - "@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/destinations/solace-destination/solace-queue/source-map/lexical/element_0", + "@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": [ { - "@value": "http://a.ml/vocabularies/apiBinding#maxTtl" + "@value": "http://a.ml/vocabularies/apiBinding#topicSubscriptions" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(123,16)-(124,0)]" + "@value": "[(122,16)-(124,0)]" } ] }, { - "@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/destinations/solace-destination/solace-queue/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/supportedOperation/publish/operation-bindings/bindings/solace-operation-020/destinations/solace-operation-destination-020/solace-operation-queue-010/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#accessType" @@ -5340,15 +5306,15 @@ ] }, { - "@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/destinations/solace-destination/solace-queue/source-map/lexical/element_3", + "@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_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiBinding#topicSubscriptions" + "@value": "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" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(124,16)-(126,0)]" + "@value": "[(119,20)-(124,0)]" } ] } @@ -5359,13 +5325,13 @@ ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@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/destinations/solace-destination/source-map", + "@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/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/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/forth-channel/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination/source-map/synthesized-field/element_0", + "@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/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#deliveryMode" @@ -5380,7 +5346,7 @@ ], "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/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination/source-map/lexical/element_2", + "@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/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#destinationType" @@ -5393,7 +5359,7 @@ ] }, { - "@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/destinations/solace-destination/source-map/lexical/element_0", + "@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/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#queue" @@ -5401,20 +5367,20 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(119,14)-(126,0)]" + "@value": "[(119,14)-(124,0)]" } ] }, { - "@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/destinations/solace-destination/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/supportedOperation/publish/operation-bindings/bindings/solace-operation-020/destinations/solace-operation-destination-020/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/forth-channel/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination" + "@value": "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" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(118,0)-(126,0)]" + "@value": "[(118,0)-(124,0)]" } ] } @@ -5423,8 +5389,9 @@ ] }, { - "@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/destinations/solace-destination_1", + "@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_1", "@type": [ + "http://a.ml/vocabularies/apiBinding#SolaceOperationDestination020", "http://a.ml/vocabularies/apiBinding#SolaceOperationDestination", "http://a.ml/vocabularies/document#DomainElement" ], @@ -5440,7 +5407,7 @@ ], "http://a.ml/vocabularies/apiBinding#topic": [ { - "@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/destinations/solace-destination_1/solace-topic", + "@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_1/solace-topic", "@type": [ "http://a.ml/vocabularies/apiBinding#SolaceOperationTopic", "http://a.ml/vocabularies/document#DomainElement" @@ -5452,26 +5419,26 @@ ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@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/destinations/solace-destination_1/solace-topic/source-map", + "@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_1/solace-topic/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/forth-channel/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination_1/solace-topic/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/supportedOperation/publish/operation-bindings/bindings/solace-operation-020/destinations/solace-operation-destination-020_1/solace-topic/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/forth-channel/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination_1/solace-topic" + "@value": "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_1/solace-topic" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(128,20)-(131,0)]" + "@value": "[(126,20)-(129,0)]" } ] }, { - "@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/destinations/solace-destination_1/solace-topic/source-map/lexical/element_0", + "@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_1/solace-topic/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#topicSubscriptions" @@ -5479,7 +5446,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(129,16)-(131,0)]" + "@value": "[(127,16)-(129,0)]" } ] } @@ -5490,13 +5457,13 @@ ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@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/destinations/solace-destination_1/source-map", + "@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_1/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/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/forth-channel/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination_1/source-map/synthesized-field/element_0", + "@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_1/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#deliveryMode" @@ -5511,7 +5478,7 @@ ], "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/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination_1/source-map/lexical/element_2", + "@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_1/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#destinationType" @@ -5519,12 +5486,12 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(127,14)-(128,0)]" + "@value": "[(125,14)-(126,0)]" } ] }, { - "@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/destinations/solace-destination_1/source-map/lexical/element_0", + "@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_1/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#topic" @@ -5532,20 +5499,20 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(128,14)-(131,0)]" + "@value": "[(126,14)-(129,0)]" } ] }, { - "@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/destinations/solace-destination_1/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/supportedOperation/publish/operation-bindings/bindings/solace-operation-020/destinations/solace-operation-destination-020_1/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/forth-channel/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination_1" + "@value": "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_1" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(127,0)-(131,0)]" + "@value": "[(125,0)-(129,0)]" } ] } @@ -5556,7 +5523,7 @@ ], "http://a.ml/vocabularies/apiBinding#bindingVersion": [ { - "@value": "0.3.0" + "@value": "0.2.0" } ], "http://a.ml/vocabularies/apiBinding#type": [ @@ -5566,13 +5533,13 @@ ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@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/source-map", + "@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/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/forth-channel/supportedOperation/publish/operation-bindings/bindings/solace-operation/source-map/lexical/element_3", + "@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/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#bindingVersion" @@ -5585,7 +5552,7 @@ ] }, { - "@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/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/supportedOperation/publish/operation-bindings/bindings/solace-operation-020/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#destinations" @@ -5593,12 +5560,12 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(116,10)-(131,0)]" + "@value": "[(116,10)-(129,0)]" } ] }, { - "@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/source-map/lexical/element_0", + "@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/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#type" @@ -5611,15 +5578,15 @@ ] }, { - "@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/source-map/lexical/element_2", + "@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/source-map/lexical/element_2", "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/supportedOperation/publish/operation-bindings/bindings/solace-operation" + "@value": "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" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(114,8)-(131,0)]" + "@value": "[(114,8)-(129,0)]" } ] } @@ -5644,7 +5611,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(114,0)-(131,0)]" + "@value": "[(114,0)-(129,0)]" } ] }, @@ -5657,7 +5624,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(114,0)-(131,0)]" + "@value": "[(114,0)-(129,0)]" } ] } @@ -5682,7 +5649,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(112,4)-(131,0)]" + "@value": "[(112,4)-(129,0)]" } ] }, @@ -5695,7 +5662,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(113,6)-(131,0)]" + "@value": "[(113,6)-(129,0)]" } ] } @@ -5720,7 +5687,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(111,2)-(131,0)]" + "@value": "[(111,2)-(129,0)]" } ] }, @@ -5733,7 +5700,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(112,0)-(131,0)]" + "@value": "[(112,0)-(129,0)]" } ] } @@ -5771,7 +5738,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(1,0)-(174,0)]" + "@value": "[(1,0)-(172,0)]" } ] }, @@ -5797,7 +5764,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(38,0)-(131,0)]" + "@value": "[(38,0)-(129,0)]" } ] }, @@ -5920,7 +5887,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(155,10)-(155,14)]" + "@value": "[(153,10)-(153,14)]" } ] } @@ -5935,7 +5902,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(154,8)-(156,0)]" + "@value": "[(152,8)-(154,0)]" } ] }, @@ -5948,7 +5915,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(155,10)-(156,0)]" + "@value": "[(153,10)-(154,0)]" } ] } @@ -5998,7 +5965,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(154,8)-(156,0)]" + "@value": "[(152,8)-(154,0)]" } ] } @@ -6043,7 +6010,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(152,6)-(152,10)]" + "@value": "[(150,6)-(150,10)]" } ] } @@ -6058,7 +6025,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(153,6)-(156,0)]" + "@value": "[(151,6)-(154,0)]" } ] }, @@ -6071,7 +6038,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(151,4)-(151,10)]" + "@value": "[(149,4)-(149,10)]" } ] }, @@ -6084,7 +6051,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(151,4)-(156,0)]" + "@value": "[(149,4)-(154,0)]" } ] } @@ -6191,7 +6158,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(172,12)-(173,0)]" + "@value": "[(170,12)-(171,0)]" } ] } @@ -6231,7 +6198,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(173,12)-(174,0)]" + "@value": "[(171,12)-(172,0)]" } ] } @@ -6256,7 +6223,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(170,10)-(171,0)]" + "@value": "[(168,10)-(169,0)]" } ] }, @@ -6269,7 +6236,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(168,8)-(174,0)]" + "@value": "[(166,8)-(172,0)]" } ] }, @@ -6282,7 +6249,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(171,10)-(174,0)]" + "@value": "[(169,10)-(172,0)]" } ] }, @@ -6295,7 +6262,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(168,8)-(168,16)]" + "@value": "[(166,8)-(166,16)]" } ] }, @@ -6308,7 +6275,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(169,10)-(170,0)]" + "@value": "[(167,10)-(168,0)]" } ] } @@ -6333,7 +6300,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(165,0)-(174,0)]" + "@value": "[(163,0)-(172,0)]" } ] }, @@ -6346,7 +6313,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(167,12)-(174,0)]" + "@value": "[(165,12)-(172,0)]" } ] } @@ -6386,7 +6353,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(166,6)-(167,0)]" + "@value": "[(164,6)-(165,0)]" } ] }, @@ -6399,7 +6366,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(164,4)-(174,0)]" + "@value": "[(162,4)-(172,0)]" } ] }, @@ -6412,7 +6379,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(165,0)-(174,0)]" + "@value": "[(163,0)-(172,0)]" } ] }, @@ -6425,7 +6392,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(165,6)-(166,0)]" + "@value": "[(163,6)-(164,0)]" } ] }, @@ -6438,7 +6405,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(164,4)-(164,10)]" + "@value": "[(162,4)-(162,10)]" } ] } @@ -6482,12 +6449,17 @@ ], "http://a.ml/vocabularies/document#link-target": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/msg/marketData/payload/default/shape/schema/shape/schema" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/shape/market" } ], "http://a.ml/vocabularies/document#link-label": [ { - "@value": "#/components/schemas/market" + "@value": "market" + } + ], + "http://a.ml/vocabularies/document#recursive": [ + { + "@value": true } ], "http://www.w3.org/ns/shacl#name": [ @@ -6503,10 +6475,10 @@ ], "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ { - "@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_1", + "@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": [ { - "@value": "http://a.ml/vocabularies/document#link-target" + "@value": "http://a.ml/vocabularies/document#link-label" } ], "http://a.ml/vocabularies/document-source-maps#value": [ @@ -6519,7 +6491,20 @@ "@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_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/document#link-label" + "@value": "http://a.ml/vocabularies/document#recursive" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "true" + } + ] + }, + { + "@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_1", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "http://a.ml/vocabularies/document#link-target" } ], "http://a.ml/vocabularies/document-source-maps#value": [ @@ -6539,7 +6524,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(139,6)-(141,0)]" + "@value": "[(137,6)-(139,0)]" } ] } @@ -6564,7 +6549,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(134,0)-(150,0)]" + "@value": "[(132,0)-(148,0)]" } ] }, @@ -6577,7 +6562,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(139,6)-(141,0)]" + "@value": "[(137,6)-(139,0)]" } ] } @@ -6698,7 +6683,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(146,20)-(146,27)]" + "@value": "[(144,20)-(144,27)]" } ] } @@ -6774,7 +6759,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(147,20)-(147,26)]" + "@value": "[(145,20)-(145,26)]" } ] } @@ -6819,7 +6804,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(146,12)-(147,0)]" + "@value": "[(144,12)-(145,0)]" } ] }, @@ -6832,7 +6817,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(147,12)-(148,0)]" + "@value": "[(145,12)-(146,0)]" } ] }, @@ -6845,7 +6830,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(146,0)-(148,0)]" + "@value": "[(144,0)-(146,0)]" } ] } @@ -6903,7 +6888,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(143,10)-(144,0)]" + "@value": "[(141,10)-(142,0)]" } ] }, @@ -6916,7 +6901,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(144,10)-(145,0)]" + "@value": "[(142,10)-(143,0)]" } ] }, @@ -6929,7 +6914,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(145,18)-(148,0)]" + "@value": "[(143,18)-(146,0)]" } ] } @@ -7055,7 +7040,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(149,27)-(149,38)]" + "@value": "[(147,27)-(147,38)]" } ] } @@ -7100,7 +7085,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(149,0)-(150,0)]" + "@value": "[(147,0)-(148,0)]" } ] }, @@ -7113,7 +7098,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(149,12)-(150,0)]" + "@value": "[(147,12)-(148,0)]" } ] } @@ -7171,7 +7156,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(143,10)-(144,0)]" + "@value": "[(141,10)-(142,0)]" } ] }, @@ -7184,7 +7169,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(144,10)-(145,0)]" + "@value": "[(142,10)-(143,0)]" } ] }, @@ -7197,7 +7182,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(148,18)-(150,0)]" + "@value": "[(146,18)-(148,0)]" } ] } @@ -7257,7 +7242,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(135,6)-(136,0)]" + "@value": "[(133,6)-(134,0)]" } ] }, @@ -7270,7 +7255,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(133,4)-(150,0)]" + "@value": "[(131,4)-(148,0)]" } ] }, @@ -7283,7 +7268,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(134,6)-(135,0)]" + "@value": "[(132,6)-(133,0)]" } ] }, @@ -7296,7 +7281,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(136,6)-(137,0)]" + "@value": "[(134,6)-(135,0)]" } ] }, @@ -7309,7 +7294,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(133,4)-(133,14)]" + "@value": "[(131,4)-(131,14)]" } ] }, @@ -7322,7 +7307,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(137,6)-(139,0)]" + "@value": "[(135,6)-(137,0)]" } ] } @@ -7464,7 +7449,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(158,15)-(158,22)]" + "@value": "[(156,15)-(156,22)]" } ] } @@ -7509,7 +7494,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(158,6)-(159,0)]" + "@value": "[(156,6)-(157,0)]" } ] }, @@ -7522,7 +7507,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(159,6)-(160,0)]" + "@value": "[(157,6)-(158,0)]" } ] }, @@ -7535,7 +7520,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(158,6)-(159,0)]" + "@value": "[(156,6)-(157,0)]" } ] }, @@ -7548,7 +7533,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(158,0)-(160,0)]" + "@value": "[(156,0)-(158,0)]" } ] } @@ -7642,7 +7627,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(157,4)-(160,0)]" + "@value": "[(155,4)-(158,0)]" } ] }, @@ -7655,7 +7640,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(157,4)-(157,15)]" + "@value": "[(155,4)-(155,15)]" } ] } @@ -7797,7 +7782,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(161,15)-(161,17)]" + "@value": "[(159,15)-(159,17)]" } ] } @@ -7842,7 +7827,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(161,6)-(162,0)]" + "@value": "[(159,6)-(160,0)]" } ] }, @@ -7855,7 +7840,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(162,6)-(163,0)]" + "@value": "[(160,6)-(161,0)]" } ] }, @@ -7868,7 +7853,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(161,6)-(162,0)]" + "@value": "[(159,6)-(160,0)]" } ] }, @@ -7881,7 +7866,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(161,0)-(163,0)]" + "@value": "[(159,0)-(161,0)]" } ] } @@ -7975,7 +7960,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(160,4)-(163,0)]" + "@value": "[(158,4)-(161,0)]" } ] }, @@ -7988,7 +7973,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(160,4)-(160,11)]" + "@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 c094e9c956..beeaeea68e 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 @@ -567,7 +567,7 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api", - "http://a.ml/vocabularies/document-source-maps#value": "[(1,0)-(174,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(1,0)-(172,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/source-map/lexical/element_1", @@ -577,7 +577,7 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#endpoint", - "http://a.ml/vocabularies/document-source-maps#value": "[(38,0)-(131,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(38,0)-(129,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/source-map/lexical/element_2", @@ -1148,7 +1148,7 @@ ], "http://a.ml/vocabularies/apiBinding#bindings": [ { - "@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" + "@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" } ], "http://a.ml/vocabularies/document-source-maps#sources": [ @@ -1174,12 +1174,12 @@ { "@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)-(131,0)]" + "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/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)-(131,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(112,0)-(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", @@ -1852,25 +1852,25 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(92,0)-(96,0)]" }, { - "@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", + "@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", "@type": [ - "http://a.ml/vocabularies/apiBinding#SolaceOperationBinding", + "http://a.ml/vocabularies/apiBinding#SolaceOperationBinding020", "http://a.ml/vocabularies/apiBinding#OperationBinding", "http://a.ml/vocabularies/document#DomainElement" ], "http://a.ml/vocabularies/apiBinding#destinations": [ { - "@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/destinations/solace-destination" + "@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" }, { - "@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/destinations/solace-destination_1" + "@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_1" } ], - "http://a.ml/vocabularies/apiBinding#bindingVersion": "0.3.0", + "http://a.ml/vocabularies/apiBinding#bindingVersion": "0.2.0", "http://a.ml/vocabularies/apiBinding#type": "solace", "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@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/source-map" + "@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/source-map" } ] }, @@ -1891,12 +1891,12 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/forth-channel/supportedOperation/publish/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/supportedOperation/publish", - "http://a.ml/vocabularies/document-source-maps#value": "[(112,4)-(131,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(112,4)-(129,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/forth-channel/supportedOperation/publish/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": "[(113,6)-(131,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(113,6)-(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/source-map", @@ -2596,68 +2596,70 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(93,8)-(94,0)]" }, { - "@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/destinations/solace-destination", + "@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", "@type": [ + "http://a.ml/vocabularies/apiBinding#SolaceOperationDestination020", "http://a.ml/vocabularies/apiBinding#SolaceOperationDestination", "http://a.ml/vocabularies/document#DomainElement" ], "http://a.ml/vocabularies/apiBinding#destinationType": "queue", "http://a.ml/vocabularies/apiBinding#deliveryMode": "persistent", "http://a.ml/vocabularies/apiBinding#queue": { - "@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/destinations/solace-destination/solace-queue" + "@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" }, "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@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/destinations/solace-destination/source-map" + "@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/source-map" } ] }, { - "@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/destinations/solace-destination_1", + "@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_1", "@type": [ + "http://a.ml/vocabularies/apiBinding#SolaceOperationDestination020", "http://a.ml/vocabularies/apiBinding#SolaceOperationDestination", "http://a.ml/vocabularies/document#DomainElement" ], "http://a.ml/vocabularies/apiBinding#destinationType": "topic", "http://a.ml/vocabularies/apiBinding#deliveryMode": "persistent", "http://a.ml/vocabularies/apiBinding#topic": { - "@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/destinations/solace-destination_1/solace-topic" + "@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_1/solace-topic" }, "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@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/destinations/solace-destination_1/source-map" + "@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_1/source-map" } ] }, { - "@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/source-map", + "@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/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/forth-channel/supportedOperation/publish/operation-bindings/bindings/solace-operation/source-map/lexical/element_3" + "@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/source-map/lexical/element_3" }, { - "@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/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/supportedOperation/publish/operation-bindings/bindings/solace-operation-020/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/supportedOperation/publish/operation-bindings/bindings/solace-operation/source-map/lexical/element_0" + "@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/source-map/lexical/element_0" }, { - "@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/source-map/lexical/element_2" + "@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/source-map/lexical/element_2" } ] }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/forth-channel/supportedOperation/publish/operation-bindings/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/supportedOperation/publish/operation-bindings", - "http://a.ml/vocabularies/document-source-maps#value": "[(114,0)-(131,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(114,0)-(129,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/forth-channel/supportedOperation/publish/operation-bindings/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#bindings", - "http://a.ml/vocabularies/document-source-maps#value": "[(114,0)-(131,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(114,0)-(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/source-map/synthesized-field/element_1", @@ -2734,27 +2736,27 @@ { "@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", - "http://a.ml/vocabularies/document-source-maps#value": "[(166,6)-(167,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(164,6)-(165,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/scheme/oauth2/source-map/lexical/element_2", "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": "[(164,4)-(174,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(162,4)-(172,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/scheme/oauth2/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/security#settings", - "http://a.ml/vocabularies/document-source-maps#value": "[(165,0)-(174,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(163,0)-(172,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/scheme/oauth2/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/security#type", - "http://a.ml/vocabularies/document-source-maps#value": "[(165,6)-(166,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(163,6)-(164,0)]" }, { "@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#element": "http://a.ml/vocabularies/core#name", - "http://a.ml/vocabularies/document-source-maps#value": "[(164,4)-(164,10)]" + "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#/async-api/server/some.com/security/requirement_1/schemes/oauth2/settings/oauth2/flows/default-flow/scope/write%3Apets", @@ -3250,8 +3252,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(99,8)-(99,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/destinations/solace-destination/solace-queue", + "@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", "@type": [ + "http://a.ml/vocabularies/apiBinding#SolaceOperationQueue010", "http://a.ml/vocabularies/apiBinding#SolaceOperationQueue", "http://a.ml/vocabularies/document#DomainElement" ], @@ -3259,38 +3262,36 @@ "person/*/created" ], "http://a.ml/vocabularies/apiBinding#accessType": "exclusive", - "http://a.ml/vocabularies/apiBinding#maxMsgSpoolSize": "test", - "http://a.ml/vocabularies/apiBinding#maxTtl": "test", "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@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/destinations/solace-destination/solace-queue/source-map" + "@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" } ] }, { - "@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/destinations/solace-destination/source-map", + "@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/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/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/forth-channel/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination/source-map/synthesized-field/element_0" + "@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/source-map/synthesized-field/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/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination/source-map/lexical/element_2" + "@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/source-map/lexical/element_2" }, { - "@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/destinations/solace-destination/source-map/lexical/element_0" + "@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/source-map/lexical/element_0" }, { - "@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/destinations/solace-destination/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/supportedOperation/publish/operation-bindings/bindings/solace-operation-020/destinations/solace-operation-destination-020/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/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination_1/solace-topic", + "@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_1/solace-topic", "@type": [ "http://a.ml/vocabularies/apiBinding#SolaceOperationTopic", "http://a.ml/vocabularies/document#DomainElement" @@ -3300,51 +3301,51 @@ ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@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/destinations/solace-destination_1/solace-topic/source-map" + "@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_1/solace-topic/source-map" } ] }, { - "@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/destinations/solace-destination_1/source-map", + "@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_1/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/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/forth-channel/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination_1/source-map/synthesized-field/element_0" + "@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_1/source-map/synthesized-field/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/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination_1/source-map/lexical/element_2" + "@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_1/source-map/lexical/element_2" }, { - "@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/destinations/solace-destination_1/source-map/lexical/element_0" + "@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_1/source-map/lexical/element_0" }, { - "@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/destinations/solace-destination_1/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/supportedOperation/publish/operation-bindings/bindings/solace-operation-020/destinations/solace-operation-destination-020_1/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/supportedOperation/publish/operation-bindings/bindings/solace-operation/source-map/lexical/element_3", + "@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/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#bindingVersion", "http://a.ml/vocabularies/document-source-maps#value": "[(115,10)-(116,0)]" }, { - "@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/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/supportedOperation/publish/operation-bindings/bindings/solace-operation-020/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#destinations", - "http://a.ml/vocabularies/document-source-maps#value": "[(116,10)-(131,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(116,10)-(129,0)]" }, { - "@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/source-map/lexical/element_0", + "@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/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#type", "http://a.ml/vocabularies/document-source-maps#value": "[(114,8)-(114,14)]" }, { - "@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/source-map/lexical/element_2", - "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/supportedOperation/publish/operation-bindings/bindings/solace-operation", - "http://a.ml/vocabularies/document-source-maps#value": "[(114,8)-(131,0)]" + "@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/source-map/lexical/element_2", + "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/supportedOperation/publish/operation-bindings/bindings/solace-operation-020", + "http://a.ml/vocabularies/document-source-maps#value": "[(114,8)-(129,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/scheme/oauth2/settings/oauth2/flows/implicit/scope/write%3Apets", @@ -3400,12 +3401,12 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/scheme/oauth2/settings/oauth2/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/scheme/oauth2/settings/oauth2", - "http://a.ml/vocabularies/document-source-maps#value": "[(165,0)-(174,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(163,0)-(172,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/scheme/oauth2/settings/oauth2/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/security#flows", - "http://a.ml/vocabularies/document-source-maps#value": "[(167,12)-(174,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(165,12)-(172,0)]" }, { "@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/source-map", @@ -3756,81 +3757,75 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(102,10)-(109,0)]" }, { - "@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/destinations/solace-destination/solace-queue/source-map", + "@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", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/forth-channel/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination/solace-queue/source-map/lexical/element_4" + "@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" }, { - "@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/destinations/solace-destination/solace-queue/source-map/lexical/element_2" + "@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_0" }, { - "@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/destinations/solace-destination/solace-queue/source-map/lexical/element_0" - }, - { - "@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/destinations/solace-destination/solace-queue/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/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination/solace-queue/source-map/lexical/element_3" + "@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_1" } ] }, { - "@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/destinations/solace-destination/source-map/synthesized-field/element_0", + "@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/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#deliveryMode", "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/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination/source-map/lexical/element_2", + "@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/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#destinationType", "http://a.ml/vocabularies/document-source-maps#value": "[(118,14)-(119,0)]" }, { - "@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/destinations/solace-destination/source-map/lexical/element_0", + "@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/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#queue", - "http://a.ml/vocabularies/document-source-maps#value": "[(119,14)-(126,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(119,14)-(124,0)]" }, { - "@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/destinations/solace-destination/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/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination", - "http://a.ml/vocabularies/document-source-maps#value": "[(118,0)-(126,0)]" + "@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/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/supportedOperation/publish/operation-bindings/bindings/solace-operation-020/destinations/solace-operation-destination-020", + "http://a.ml/vocabularies/document-source-maps#value": "[(118,0)-(124,0)]" }, { - "@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/destinations/solace-destination_1/solace-topic/source-map", + "@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_1/solace-topic/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/forth-channel/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination_1/solace-topic/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/supportedOperation/publish/operation-bindings/bindings/solace-operation-020/destinations/solace-operation-destination-020_1/solace-topic/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/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination_1/solace-topic/source-map/lexical/element_0" + "@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_1/solace-topic/source-map/lexical/element_0" } ] }, { - "@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/destinations/solace-destination_1/source-map/synthesized-field/element_0", + "@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_1/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#deliveryMode", "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/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination_1/source-map/lexical/element_2", + "@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_1/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#destinationType", - "http://a.ml/vocabularies/document-source-maps#value": "[(127,14)-(128,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(125,14)-(126,0)]" }, { - "@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/destinations/solace-destination_1/source-map/lexical/element_0", + "@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_1/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#topic", - "http://a.ml/vocabularies/document-source-maps#value": "[(128,14)-(131,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(126,14)-(129,0)]" }, { - "@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/destinations/solace-destination_1/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/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination_1", - "http://a.ml/vocabularies/document-source-maps#value": "[(127,0)-(131,0)]" + "@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_1/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/supportedOperation/publish/operation-bindings/bindings/solace-operation-020/destinations/solace-operation-destination-020_1", + "http://a.ml/vocabularies/document-source-maps#value": "[(125,0)-(129,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/scheme/oauth2/settings/oauth2/flows/implicit/scope/write%3Apets/source-map", @@ -3857,27 +3852,27 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/scheme/oauth2/settings/oauth2/flows/implicit/source-map/lexical/element_4", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/security#refreshUri", - "http://a.ml/vocabularies/document-source-maps#value": "[(170,10)-(171,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(168,10)-(169,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/scheme/oauth2/settings/oauth2/flows/implicit/source-map/lexical/element_2", "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", - "http://a.ml/vocabularies/document-source-maps#value": "[(168,8)-(174,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(166,8)-(172,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/scheme/oauth2/settings/oauth2/flows/implicit/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/security#scope", - "http://a.ml/vocabularies/document-source-maps#value": "[(171,10)-(174,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(169,10)-(172,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/scheme/oauth2/settings/oauth2/flows/implicit/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/security#flow", - "http://a.ml/vocabularies/document-source-maps#value": "[(168,8)-(168,16)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(166,8)-(166,16)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/scheme/oauth2/settings/oauth2/flows/implicit/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/security#authorizationUri", - "http://a.ml/vocabularies/document-source-maps#value": "[(169,10)-(170,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(167,10)-(168,0)]" }, { "@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/source-map/lexical/element_0", @@ -4042,49 +4037,39 @@ "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/destinations/solace-destination/solace-queue/source-map/lexical/element_4", - "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#maxMsgSpoolSize", - "http://a.ml/vocabularies/document-source-maps#value": "[(122,16)-(123,0)]" - }, - { - "@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/destinations/solace-destination/solace-queue/source-map/lexical/element_2", - "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/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination/solace-queue", - "http://a.ml/vocabularies/document-source-maps#value": "[(119,20)-(126,0)]" - }, - { - "@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/destinations/solace-destination/solace-queue/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#maxTtl", - "http://a.ml/vocabularies/document-source-maps#value": "[(123,16)-(124,0)]" + "@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", + "http://a.ml/vocabularies/document-source-maps#value": "[(122,16)-(124,0)]" }, { - "@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/destinations/solace-destination/solace-queue/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/supportedOperation/publish/operation-bindings/bindings/solace-operation-020/destinations/solace-operation-destination-020/solace-operation-queue-010/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#accessType", "http://a.ml/vocabularies/document-source-maps#value": "[(121,16)-(122,0)]" }, { - "@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/destinations/solace-destination/solace-queue/source-map/lexical/element_3", - "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#topicSubscriptions", - "http://a.ml/vocabularies/document-source-maps#value": "[(124,16)-(126,0)]" + "@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_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/supportedOperation/publish/operation-bindings/bindings/solace-operation-020/destinations/solace-operation-destination-020/solace-operation-queue-010", + "http://a.ml/vocabularies/document-source-maps#value": "[(119,20)-(124,0)]" }, { - "@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/destinations/solace-destination_1/solace-topic/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/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination_1/solace-topic", - "http://a.ml/vocabularies/document-source-maps#value": "[(128,20)-(131,0)]" + "@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_1/solace-topic/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/supportedOperation/publish/operation-bindings/bindings/solace-operation-020/destinations/solace-operation-destination-020_1/solace-topic", + "http://a.ml/vocabularies/document-source-maps#value": "[(126,20)-(129,0)]" }, { - "@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/destinations/solace-destination_1/solace-topic/source-map/lexical/element_0", + "@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_1/solace-topic/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#topicSubscriptions", - "http://a.ml/vocabularies/document-source-maps#value": "[(129,16)-(131,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(127,16)-(129,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/scheme/oauth2/settings/oauth2/flows/implicit/scope/write%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#/declares/scheme/oauth2/settings/oauth2/flows/implicit/scope/write%3Apets", - "http://a.ml/vocabularies/document-source-maps#value": "[(172,12)-(173,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(170,12)-(171,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/scheme/oauth2/settings/oauth2/flows/implicit/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#/declares/scheme/oauth2/settings/oauth2/flows/implicit/scope/read%3Apets", - "http://a.ml/vocabularies/document-source-maps#value": "[(173,12)-(174,0)]" + "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", @@ -4598,22 +4583,22 @@ { "@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#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": "[(152,6)-(152,10)]" + "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/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": "[(153,6)-(156,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(151,6)-(154,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/shape/market/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": "[(151,4)-(151,10)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(149,4)-(149,10)]" }, { "@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#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": "[(151,4)-(156,0)]" + "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", @@ -4631,10 +4616,11 @@ ], "http://a.ml/vocabularies/document#link-target": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/msg/marketData/payload/default/shape/schema/shape/schema" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/shape/market" } ], - "http://a.ml/vocabularies/document#link-label": "#/components/schemas/market", + "http://a.ml/vocabularies/document#link-label": "market", + "http://a.ml/vocabularies/document#recursive": true, "http://www.w3.org/ns/shacl#name": "schema", "http://a.ml/vocabularies/document-source-maps#sources": [ { @@ -4761,32 +4747,32 @@ { "@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", - "http://a.ml/vocabularies/document-source-maps#value": "[(135,6)-(136,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(133,6)-(134,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/msg/marketData/source-map/lexical/element_3", "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": "[(133,4)-(150,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(131,4)-(148,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/msg/marketData/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#displayName", - "http://a.ml/vocabularies/document-source-maps#value": "[(134,6)-(135,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(132,6)-(133,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/msg/marketData/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#messageId", - "http://a.ml/vocabularies/document-source-maps#value": "[(136,6)-(137,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(134,6)-(135,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/msg/marketData/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", - "http://a.ml/vocabularies/document-source-maps#value": "[(133,4)-(133,14)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(131,4)-(131,14)]" }, { "@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#element": "http://a.ml/vocabularies/core#description", - "http://a.ml/vocabularies/document-source-maps#value": "[(137,6)-(139,0)]" + "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", @@ -4866,12 +4852,12 @@ { "@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", - "http://a.ml/vocabularies/document-source-maps#value": "[(157,4)-(160,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(155,4)-(158,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": "http://a.ml/vocabularies/core#name", - "http://a.ml/vocabularies/document-source-maps#value": "[(157,4)-(157,15)]" + "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", @@ -4951,12 +4937,12 @@ { "@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", - "http://a.ml/vocabularies/document-source-maps#value": "[(160,4)-(163,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(158,4)-(161,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": "http://a.ml/vocabularies/core#name", - "http://a.ml/vocabularies/document-source-maps#value": "[(160,4)-(160,11)]" + "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", @@ -4990,7 +4976,7 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/shape/market/property/property/type/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#/declares/shape/market/property/property/type", - "http://a.ml/vocabularies/document-source-maps#value": "[(154,8)-(156,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(152,8)-(154,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/msg/marketData/payload/default/shape/schema/source-map", @@ -4999,10 +4985,13 @@ ], "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ { - "@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_1" + "@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" }, { "@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_0" + }, + { + "@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_1" } ], "http://a.ml/vocabularies/document-source-maps#lexical": [ @@ -5014,12 +5003,12 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/msg/marketData/payload/default/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/msg/marketData/payload/default", - "http://a.ml/vocabularies/document-source-maps#value": "[(134,0)-(150,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(132,0)-(148,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/msg/marketData/payload/default/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(139,6)-(141,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(137,6)-(139,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/msg/marketData/examples/example/default-example_2/object_1/userId", @@ -5096,17 +5085,17 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/msg/marketData/examples/example/default-example_2/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#displayName", - "http://a.ml/vocabularies/document-source-maps#value": "[(143,10)-(144,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(141,10)-(142,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/msg/marketData/examples/example/default-example_2/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": "[(144,10)-(145,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(142,10)-(143,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/msg/marketData/examples/example/default-example_2/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/msg/marketData/examples/example/default-example_2", - "http://a.ml/vocabularies/document-source-maps#value": "[(145,18)-(148,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(143,18)-(146,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/msg/marketData/examples/example/default-example_2/source-map/tracked-element/element_0", @@ -5165,17 +5154,17 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/msg/marketData/headerExamples/example/default-example_1/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#displayName", - "http://a.ml/vocabularies/document-source-maps#value": "[(143,10)-(144,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(141,10)-(142,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/msg/marketData/headerExamples/example/default-example_1/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": "[(144,10)-(145,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(142,10)-(143,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/msg/marketData/headerExamples/example/default-example_1/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/msg/marketData/headerExamples/example/default-example_1", - "http://a.ml/vocabularies/document-source-maps#value": "[(148,18)-(150,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(146,18)-(148,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/msg/marketData/headerExamples/example/default-example_1/source-map/tracked-element/element_0", @@ -5209,22 +5198,22 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/parameter/path/environment/scalar/environment/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#defaultValue", - "http://a.ml/vocabularies/document-source-maps#value": "[(158,6)-(159,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(156,6)-(157,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/parameter/path/environment/scalar/environment/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#description", - "http://a.ml/vocabularies/document-source-maps#value": "[(159,6)-(160,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(157,6)-(158,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/parameter/path/environment/scalar/environment/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#defaultValueStr", - "http://a.ml/vocabularies/document-source-maps#value": "[(158,6)-(159,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(156,6)-(157,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/parameter/path/environment/scalar/environment/source-map/lexical/element_2", "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/scalar/environment", - "http://a.ml/vocabularies/document-source-maps#value": "[(158,0)-(160,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(156,0)-(158,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/parameter/path/version/scalar/version/scalar_1/source-map", @@ -5253,52 +5242,57 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/parameter/path/version/scalar/version/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#defaultValue", - "http://a.ml/vocabularies/document-source-maps#value": "[(161,6)-(162,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(159,6)-(160,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/parameter/path/version/scalar/version/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#description", - "http://a.ml/vocabularies/document-source-maps#value": "[(162,6)-(163,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(160,6)-(161,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/parameter/path/version/scalar/version/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#defaultValueStr", - "http://a.ml/vocabularies/document-source-maps#value": "[(161,6)-(162,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(159,6)-(160,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/parameter/path/version/scalar/version/source-map/lexical/element_2", "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": "[(161,0)-(163,0)]" + "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": "[(155,10)-(155,14)]" + "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", - "http://a.ml/vocabularies/document-source-maps#value": "[(154,8)-(156,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(152,8)-(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/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": "[(155,10)-(156,0)]" + "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/msg/marketData/payload/default/shape/schema/source-map/synthesized-field/element_1", - "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-target", + "@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", "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/payload/default/shape/schema/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#element": "http://a.ml/vocabularies/document#recursive", + "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/payload/default/shape/schema/source-map/synthesized-field/element_1", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-target", "http://a.ml/vocabularies/document-source-maps#value": "true" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/msg/marketData/payload/default/shape/schema/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#/declares/msg/marketData/payload/default/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(139,6)-(141,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(137,6)-(139,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/msg/marketData/examples/example/default-example_2/object_1/userId/source-map", @@ -5346,17 +5340,17 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/msg/marketData/examples/example/default-example_2/object_1/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/data#userId", - "http://a.ml/vocabularies/document-source-maps#value": "[(146,12)-(147,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(144,12)-(145,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/msg/marketData/examples/example/default-example_2/object_1/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/data#status", - "http://a.ml/vocabularies/document-source-maps#value": "[(147,12)-(148,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(145,12)-(146,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/msg/marketData/examples/example/default-example_2/object_1/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/msg/marketData/examples/example/default-example_2/object_1", - "http://a.ml/vocabularies/document-source-maps#value": "[(146,0)-(148,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(144,0)-(146,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/msg/marketData/headerExamples/example/default-example_1/object_1/exampleHeader/source-map", @@ -5385,12 +5379,12 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/msg/marketData/headerExamples/example/default-example_1/object_1/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/msg/marketData/headerExamples/example/default-example_1/object_1", - "http://a.ml/vocabularies/document-source-maps#value": "[(149,0)-(150,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(147,0)-(148,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/msg/marketData/headerExamples/example/default-example_1/object_1/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/data#exampleHeader", - "http://a.ml/vocabularies/document-source-maps#value": "[(149,12)-(150,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(147,12)-(148,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/parameter/path/environment/scalar/environment/scalar_1/source-map/synthesized-field/element_1", @@ -5405,7 +5399,7 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/parameter/path/environment/scalar/environment/scalar_1/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#/declares/parameter/path/environment/scalar/environment/scalar_1", - "http://a.ml/vocabularies/document-source-maps#value": "[(158,15)-(158,22)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(156,15)-(156,22)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/parameter/path/version/scalar/version/scalar_1/source-map/synthesized-field/element_1", @@ -5420,7 +5414,7 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/parameter/path/version/scalar/version/scalar_1/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#/declares/parameter/path/version/scalar/version/scalar_1", - "http://a.ml/vocabularies/document-source-maps#value": "[(161,15)-(161,17)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(159,15)-(159,17)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/msg/marketData/examples/example/default-example_2/object_1/userId/source-map/synthesized-field/element_1", @@ -5435,7 +5429,7 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/msg/marketData/examples/example/default-example_2/object_1/userId/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#/declares/msg/marketData/examples/example/default-example_2/object_1/userId", - "http://a.ml/vocabularies/document-source-maps#value": "[(146,20)-(146,27)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(144,20)-(144,27)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/msg/marketData/examples/example/default-example_2/object_1/status/source-map/synthesized-field/element_1", @@ -5450,7 +5444,7 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/msg/marketData/examples/example/default-example_2/object_1/status/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#/declares/msg/marketData/examples/example/default-example_2/object_1/status", - "http://a.ml/vocabularies/document-source-maps#value": "[(147,20)-(147,26)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(145,20)-(145,26)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/msg/marketData/headerExamples/example/default-example_1/object_1/exampleHeader/source-map/synthesized-field/element_1", @@ -5465,7 +5459,7 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/msg/marketData/headerExamples/example/default-example_1/object_1/exampleHeader/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#/declares/msg/marketData/headerExamples/example/default-example_1/object_1/exampleHeader", - "http://a.ml/vocabularies/document-source-maps#value": "[(149,27)-(149,38)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(147,27)-(147,38)]" } ] } diff --git a/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml b/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml index ddbd0281ef..be34e8da28 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml +++ b/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml @@ -112,15 +112,13 @@ channels: publish: bindings: solace: - bindingVersion: 0.3.0 + bindingVersion: 0.2.0 destinations: - destinationType: queue queue: name: CreatedHREvents accessType: exclusive - maxMsgSpoolSize: test - maxTtl: test topicSubscriptions: - person/*/created - 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 dceac56351..4c985de700 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 @@ -760,7 +760,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(199,12)-(200,0)]" + "@value": "[(197,12)-(198,0)]" } ] } @@ -800,7 +800,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(200,12)-(201,0)]" + "@value": "[(198,12)-(199,0)]" } ] } @@ -825,7 +825,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(197,10)-(198,0)]" + "@value": "[(195,10)-(196,0)]" } ] }, @@ -838,7 +838,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(195,8)-(201,0)]" + "@value": "[(193,8)-(199,0)]" } ] }, @@ -851,7 +851,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(198,10)-(201,0)]" + "@value": "[(196,10)-(199,0)]" } ] }, @@ -864,7 +864,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(195,8)-(195,16)]" + "@value": "[(193,8)-(193,16)]" } ] }, @@ -877,7 +877,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(196,10)-(197,0)]" + "@value": "[(194,10)-(195,0)]" } ] } @@ -902,7 +902,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(192,0)-(201,0)]" + "@value": "[(190,0)-(199,0)]" } ] }, @@ -915,7 +915,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(194,12)-(201,0)]" + "@value": "[(192,12)-(199,0)]" } ] } @@ -955,7 +955,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(193,6)-(194,0)]" + "@value": "[(191,6)-(192,0)]" } ] }, @@ -968,7 +968,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(191,4)-(201,0)]" + "@value": "[(189,4)-(199,0)]" } ] }, @@ -981,7 +981,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(192,0)-(201,0)]" + "@value": "[(190,0)-(199,0)]" } ] }, @@ -994,7 +994,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(192,6)-(193,0)]" + "@value": "[(190,6)-(191,0)]" } ] }, @@ -1007,7 +1007,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(191,4)-(191,10)]" + "@value": "[(189,4)-(189,10)]" } ] } @@ -2874,7 +2874,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(199,12)-(200,0)]" + "@value": "[(197,12)-(198,0)]" } ] } @@ -2914,7 +2914,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(200,12)-(201,0)]" + "@value": "[(198,12)-(199,0)]" } ] } @@ -2939,7 +2939,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(197,10)-(198,0)]" + "@value": "[(195,10)-(196,0)]" } ] }, @@ -2952,7 +2952,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(195,8)-(201,0)]" + "@value": "[(193,8)-(199,0)]" } ] }, @@ -2965,7 +2965,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(198,10)-(201,0)]" + "@value": "[(196,10)-(199,0)]" } ] }, @@ -2978,7 +2978,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(195,8)-(195,16)]" + "@value": "[(193,8)-(193,16)]" } ] }, @@ -2991,7 +2991,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(196,10)-(197,0)]" + "@value": "[(194,10)-(195,0)]" } ] } @@ -3016,7 +3016,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(192,0)-(201,0)]" + "@value": "[(190,0)-(199,0)]" } ] }, @@ -3029,7 +3029,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(194,12)-(201,0)]" + "@value": "[(192,12)-(199,0)]" } ] } @@ -3069,7 +3069,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(193,6)-(194,0)]" + "@value": "[(191,6)-(192,0)]" } ] }, @@ -3082,7 +3082,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(191,4)-(201,0)]" + "@value": "[(189,4)-(199,0)]" } ] }, @@ -3095,7 +3095,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(192,0)-(201,0)]" + "@value": "[(190,0)-(199,0)]" } ] }, @@ -3108,7 +3108,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(192,6)-(193,0)]" + "@value": "[(190,6)-(191,0)]" } ] }, @@ -3121,7 +3121,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(191,4)-(191,10)]" + "@value": "[(189,4)-(189,10)]" } ] } @@ -5230,16 +5230,17 @@ ], "http://a.ml/vocabularies/apiBinding#bindings": [ { - "@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", + "@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", "@type": [ - "http://a.ml/vocabularies/apiBinding#SolaceOperationBinding", + "http://a.ml/vocabularies/apiBinding#SolaceOperationBinding020", "http://a.ml/vocabularies/apiBinding#OperationBinding", "http://a.ml/vocabularies/document#DomainElement" ], "http://a.ml/vocabularies/apiBinding#destinations": [ { - "@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/destinations/solace-destination", + "@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", "@type": [ + "http://a.ml/vocabularies/apiBinding#SolaceOperationDestination020", "http://a.ml/vocabularies/apiBinding#SolaceOperationDestination", "http://a.ml/vocabularies/document#DomainElement" ], @@ -5255,8 +5256,9 @@ ], "http://a.ml/vocabularies/apiBinding#queue": [ { - "@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/destinations/solace-destination/solace-queue", + "@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", "@type": [ + "http://a.ml/vocabularies/apiBinding#SolaceOperationQueue010", "http://a.ml/vocabularies/apiBinding#SolaceOperationQueue", "http://a.ml/vocabularies/document#DomainElement" ], @@ -5270,64 +5272,28 @@ "@value": "exclusive" } ], - "http://a.ml/vocabularies/apiBinding#maxMsgSpoolSize": [ - { - "@value": "test" - } - ], - "http://a.ml/vocabularies/apiBinding#maxTtl": [ - { - "@value": "test" - } - ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@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/destinations/solace-destination/solace-queue/source-map", + "@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", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/forth-channel/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination/solace-queue/source-map/lexical/element_4", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "http://a.ml/vocabularies/apiBinding#maxMsgSpoolSize" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(122,16)-(123,0)]" - } - ] - }, - { - "@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/destinations/solace-destination/solace-queue/source-map/lexical/element_2", - "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/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination/solace-queue" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(119,20)-(126,0)]" - } - ] - }, - { - "@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/destinations/solace-destination/solace-queue/source-map/lexical/element_0", + "@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": [ { - "@value": "http://a.ml/vocabularies/apiBinding#maxTtl" + "@value": "http://a.ml/vocabularies/apiBinding#topicSubscriptions" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(123,16)-(124,0)]" + "@value": "[(122,16)-(124,0)]" } ] }, { - "@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/destinations/solace-destination/solace-queue/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/supportedOperation/publish/operation-bindings/bindings/solace-operation-020/destinations/solace-operation-destination-020/solace-operation-queue-010/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#accessType" @@ -5340,15 +5306,15 @@ ] }, { - "@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/destinations/solace-destination/solace-queue/source-map/lexical/element_3", + "@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_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiBinding#topicSubscriptions" + "@value": "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" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(124,16)-(126,0)]" + "@value": "[(119,20)-(124,0)]" } ] } @@ -5359,13 +5325,13 @@ ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@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/destinations/solace-destination/source-map", + "@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/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/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/forth-channel/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination/source-map/synthesized-field/element_0", + "@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/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#deliveryMode" @@ -5380,7 +5346,7 @@ ], "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/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination/source-map/lexical/element_2", + "@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/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#destinationType" @@ -5393,7 +5359,7 @@ ] }, { - "@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/destinations/solace-destination/source-map/lexical/element_0", + "@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/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#queue" @@ -5401,20 +5367,20 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(119,14)-(126,0)]" + "@value": "[(119,14)-(124,0)]" } ] }, { - "@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/destinations/solace-destination/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/supportedOperation/publish/operation-bindings/bindings/solace-operation-020/destinations/solace-operation-destination-020/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/forth-channel/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination" + "@value": "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" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(118,0)-(126,0)]" + "@value": "[(118,0)-(124,0)]" } ] } @@ -5423,8 +5389,9 @@ ] }, { - "@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/destinations/solace-destination_1", + "@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_1", "@type": [ + "http://a.ml/vocabularies/apiBinding#SolaceOperationDestination020", "http://a.ml/vocabularies/apiBinding#SolaceOperationDestination", "http://a.ml/vocabularies/document#DomainElement" ], @@ -5440,7 +5407,7 @@ ], "http://a.ml/vocabularies/apiBinding#topic": [ { - "@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/destinations/solace-destination_1/solace-topic", + "@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_1/solace-topic", "@type": [ "http://a.ml/vocabularies/apiBinding#SolaceOperationTopic", "http://a.ml/vocabularies/document#DomainElement" @@ -5452,26 +5419,26 @@ ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@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/destinations/solace-destination_1/solace-topic/source-map", + "@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_1/solace-topic/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/forth-channel/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination_1/solace-topic/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/supportedOperation/publish/operation-bindings/bindings/solace-operation-020/destinations/solace-operation-destination-020_1/solace-topic/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/forth-channel/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination_1/solace-topic" + "@value": "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_1/solace-topic" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(128,20)-(131,0)]" + "@value": "[(126,20)-(129,0)]" } ] }, { - "@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/destinations/solace-destination_1/solace-topic/source-map/lexical/element_0", + "@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_1/solace-topic/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#topicSubscriptions" @@ -5479,7 +5446,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(129,16)-(131,0)]" + "@value": "[(127,16)-(129,0)]" } ] } @@ -5490,13 +5457,13 @@ ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@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/destinations/solace-destination_1/source-map", + "@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_1/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/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/forth-channel/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination_1/source-map/synthesized-field/element_0", + "@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_1/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#deliveryMode" @@ -5511,7 +5478,7 @@ ], "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/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination_1/source-map/lexical/element_2", + "@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_1/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#destinationType" @@ -5519,12 +5486,12 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(127,14)-(128,0)]" + "@value": "[(125,14)-(126,0)]" } ] }, { - "@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/destinations/solace-destination_1/source-map/lexical/element_0", + "@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_1/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#topic" @@ -5532,20 +5499,20 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(128,14)-(131,0)]" + "@value": "[(126,14)-(129,0)]" } ] }, { - "@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/destinations/solace-destination_1/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/supportedOperation/publish/operation-bindings/bindings/solace-operation-020/destinations/solace-operation-destination-020_1/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/forth-channel/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination_1" + "@value": "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_1" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(127,0)-(131,0)]" + "@value": "[(125,0)-(129,0)]" } ] } @@ -5556,7 +5523,7 @@ ], "http://a.ml/vocabularies/apiBinding#bindingVersion": [ { - "@value": "0.3.0" + "@value": "0.2.0" } ], "http://a.ml/vocabularies/apiBinding#type": [ @@ -5566,13 +5533,13 @@ ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@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/source-map", + "@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/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/forth-channel/supportedOperation/publish/operation-bindings/bindings/solace-operation/source-map/lexical/element_3", + "@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/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#bindingVersion" @@ -5585,7 +5552,7 @@ ] }, { - "@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/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/supportedOperation/publish/operation-bindings/bindings/solace-operation-020/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#destinations" @@ -5593,12 +5560,12 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(116,10)-(131,0)]" + "@value": "[(116,10)-(129,0)]" } ] }, { - "@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/source-map/lexical/element_0", + "@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/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#type" @@ -5611,15 +5578,15 @@ ] }, { - "@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/source-map/lexical/element_2", + "@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/source-map/lexical/element_2", "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/supportedOperation/publish/operation-bindings/bindings/solace-operation" + "@value": "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" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(114,8)-(131,0)]" + "@value": "[(114,8)-(129,0)]" } ] } @@ -5644,7 +5611,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(114,0)-(131,0)]" + "@value": "[(114,0)-(129,0)]" } ] }, @@ -5657,7 +5624,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(114,0)-(131,0)]" + "@value": "[(114,0)-(129,0)]" } ] } @@ -5682,7 +5649,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(112,4)-(131,0)]" + "@value": "[(112,4)-(129,0)]" } ] }, @@ -5695,7 +5662,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(113,6)-(131,0)]" + "@value": "[(113,6)-(129,0)]" } ] } @@ -5720,7 +5687,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(111,2)-(131,0)]" + "@value": "[(111,2)-(129,0)]" } ] }, @@ -5733,7 +5700,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(112,0)-(131,0)]" + "@value": "[(112,0)-(129,0)]" } ] } @@ -5761,15 +5728,20 @@ ], "http://a.ml/vocabularies/apiBinding#bindings": [ { - "@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-operation", + "@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", "@type": [ - "http://a.ml/vocabularies/apiBinding#GooglePubSubChannelBinding", + "http://a.ml/vocabularies/apiBinding#GooglePubSubChannelBinding010", "http://a.ml/vocabularies/apiBinding#ChannelBinding", "http://a.ml/vocabularies/document#DomainElement" ], + "http://a.ml/vocabularies/apiBinding#topic": [ + { + "@value": "projects/your-project/topics/topic-proto-schema" + } + ], "http://a.ml/vocabularies/apiBinding#labels": [ { - "@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-operation/object_1", + "@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/object_1", "@type": [ "http://a.ml/vocabularies/data#Object", "http://a.ml/vocabularies/data#Node", @@ -5777,7 +5749,7 @@ ], "http://a.ml/vocabularies/data#label1": [ { - "@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-operation/object_1/label1", + "@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/object_1/label1", "@type": [ "http://a.ml/vocabularies/data#Scalar", "http://a.ml/vocabularies/data#Node", @@ -5800,13 +5772,13 @@ ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@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-operation/object_1/label1/source-map", + "@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/object_1/label1/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/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/topic-proto-schema/channel-bindings/bindings/googlepubsub-operation/object_1/label1/source-map/synthesized-field/element_1", + "@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/object_1/label1/source-map/synthesized-field/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://www.w3.org/ns/shacl#datatype" @@ -5819,7 +5791,7 @@ ] }, { - "@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-operation/object_1/label1/source-map/synthesized-field/element_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/object_1/label1/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/core#name" @@ -5834,15 +5806,15 @@ ], "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/topic-proto-schema/channel-bindings/bindings/googlepubsub-operation/object_1/label1/source-map/lexical/element_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/object_1/label1/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/topic-proto-schema/channel-bindings/bindings/googlepubsub-operation/object_1/label1" + "@value": "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/object_1/label1" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(135,18)-(135,24)]" + "@value": "[(133,18)-(133,24)]" } ] } @@ -5853,7 +5825,7 @@ ], "http://a.ml/vocabularies/data#label2": [ { - "@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-operation/object_1/label2", + "@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/object_1/label2", "@type": [ "http://a.ml/vocabularies/data#Scalar", "http://a.ml/vocabularies/data#Node", @@ -5876,13 +5848,13 @@ ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@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-operation/object_1/label2/source-map", + "@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/object_1/label2/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/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/topic-proto-schema/channel-bindings/bindings/googlepubsub-operation/object_1/label2/source-map/synthesized-field/element_1", + "@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/object_1/label2/source-map/synthesized-field/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://www.w3.org/ns/shacl#datatype" @@ -5895,7 +5867,7 @@ ] }, { - "@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-operation/object_1/label2/source-map/synthesized-field/element_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/object_1/label2/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/core#name" @@ -5910,15 +5882,15 @@ ], "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/topic-proto-schema/channel-bindings/bindings/googlepubsub-operation/object_1/label2/source-map/lexical/element_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/object_1/label2/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/topic-proto-schema/channel-bindings/bindings/googlepubsub-operation/object_1/label2" + "@value": "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/object_1/label2" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(136,18)-(136,24)]" + "@value": "[(134,18)-(134,24)]" } ] } @@ -5934,13 +5906,13 @@ ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@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-operation/object_1/source-map", + "@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/object_1/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/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/topic-proto-schema/channel-bindings/bindings/googlepubsub-operation/object_1/source-map/synthesized-field/element_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/object_1/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/core#name" @@ -5955,7 +5927,7 @@ ], "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/topic-proto-schema/channel-bindings/bindings/googlepubsub-operation/object_1/source-map/lexical/element_2", + "@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/object_1/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/data#label1" @@ -5963,12 +5935,12 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(135,10)-(136,0)]" + "@value": "[(133,10)-(134,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-operation/object_1/source-map/lexical/element_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/object_1/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/data#label2" @@ -5976,20 +5948,20 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(136,10)-(137,0)]" + "@value": "[(134,10)-(135,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-operation/object_1/source-map/lexical/element_1", + "@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/object_1/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/topic-proto-schema/channel-bindings/bindings/googlepubsub-operation/object_1" + "@value": "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/object_1" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(135,0)-(137,0)]" + "@value": "[(133,0)-(135,0)]" } ] } @@ -6005,7 +5977,7 @@ ], "http://a.ml/vocabularies/apiBinding#messageStoragePolicy": [ { - "@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-operation/googlepubsub-messageStoragePolicy", + "@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/googlepubsub-messageStoragePolicy", "@type": [ "http://a.ml/vocabularies/apiBinding#GooglePubSubMessageStoragePolicy", "http://a.ml/vocabularies/document#DomainElement" @@ -6020,26 +5992,26 @@ ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@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-operation/googlepubsub-messageStoragePolicy/source-map", + "@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/googlepubsub-messageStoragePolicy/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/topic-proto-schema/channel-bindings/bindings/googlepubsub-operation/googlepubsub-messageStoragePolicy/source-map/lexical/element_1", + "@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/googlepubsub-messageStoragePolicy/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/topic-proto-schema/channel-bindings/bindings/googlepubsub-operation/googlepubsub-messageStoragePolicy" + "@value": "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/googlepubsub-messageStoragePolicy" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(139,29)-(143,0)]" + "@value": "[(137,29)-(141,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-operation/googlepubsub-messageStoragePolicy/source-map/lexical/element_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/googlepubsub-messageStoragePolicy/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#allowedPersistenceRegions" @@ -6047,7 +6019,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(140,10)-(143,0)]" + "@value": "[(138,10)-(141,0)]" } ] } @@ -6058,11 +6030,16 @@ ], "http://a.ml/vocabularies/apiBinding#schemaSettings": [ { - "@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-operation/googlepubsub-schemaSettings", + "@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/googlepubsub-schemaSettings", "@type": [ "http://a.ml/vocabularies/apiBinding#GooglePubSubSchemaSettings", "http://a.ml/vocabularies/document#DomainElement" ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "projects/your-project/schemas/messageAvro" + } + ], "http://a.ml/vocabularies/apiBinding#encoding": [ { "@value": "binary" @@ -6078,49 +6055,44 @@ "@value": "2.0.0" } ], - "http://a.ml/vocabularies/apiBinding#name": [ - { - "@value": "projects/your-project/schemas/messageAvro" - } - ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@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-operation/googlepubsub-schemaSettings/source-map", + "@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/googlepubsub-schemaSettings/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/topic-proto-schema/channel-bindings/bindings/googlepubsub-operation/googlepubsub-schemaSettings/source-map/lexical/element_4", + "@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/googlepubsub-schemaSettings/source-map/lexical/element_4", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiBinding#lastRevisionId" + "@value": "http://a.ml/vocabularies/apiBinding#firstRevisionId" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(147,10)-(148,0)]" + "@value": "[(144,10)-(145,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-operation/googlepubsub-schemaSettings/source-map/lexical/element_2", + "@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/googlepubsub-schemaSettings/source-map/lexical/element_2", "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/topic-proto-schema/channel-bindings/bindings/googlepubsub-operation/googlepubsub-schemaSettings" + "@value": "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/googlepubsub-schemaSettings" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(143,23)-(148,0)]" + "@value": "[(141,23)-(146,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-operation/googlepubsub-schemaSettings/source-map/lexical/element_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/googlepubsub-schemaSettings/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiBinding#name" + "@value": "http://a.ml/vocabularies/apiBinding#lastRevisionId" } ], "http://a.ml/vocabularies/document-source-maps#value": [ @@ -6130,28 +6102,28 @@ ] }, { - "@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-operation/googlepubsub-schemaSettings/source-map/lexical/element_1", + "@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/googlepubsub-schemaSettings/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiBinding#firstRevisionId" + "@value": "http://a.ml/vocabularies/apiBinding#encoding" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(146,10)-(147,0)]" + "@value": "[(142,10)-(143,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-operation/googlepubsub-schemaSettings/source-map/lexical/element_3", + "@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/googlepubsub-schemaSettings/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiBinding#encoding" + "@value": "http://a.ml/vocabularies/core#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(144,10)-(145,0)]" + "@value": "[(143,10)-(144,0)]" } ] } @@ -6160,11 +6132,6 @@ ] } ], - "http://a.ml/vocabularies/apiBinding#topic": [ - { - "@value": "projects/your-project/topics/topic-proto-schema" - } - ], "http://a.ml/vocabularies/apiBinding#bindingVersion": [ { "@value": "latest" @@ -6177,13 +6144,13 @@ ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@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-operation/source-map", + "@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/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/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/topic-proto-schema/channel-bindings/bindings/googlepubsub-operation/source-map/synthesized-field/element_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/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#bindingVersion" @@ -6198,46 +6165,46 @@ ], "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/topic-proto-schema/channel-bindings/bindings/googlepubsub-operation/source-map/lexical/element_6", + "@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/source-map/lexical/element_6", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiBinding#topic" + "@value": "http://a.ml/vocabularies/apiBinding#schemaSettings" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(137,8)-(138,0)]" + "@value": "[(141,8)-(146,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-operation/source-map/lexical/element_4", + "@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/source-map/lexical/element_4", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiBinding#labels" + "@value": "http://a.ml/vocabularies/apiBinding#topic" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(134,8)-(137,0)]" + "@value": "[(135,8)-(136,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-operation/source-map/lexical/element_2", + "@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/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiBinding#messageRetentionDuration" + "@value": "http://a.ml/vocabularies/apiBinding#labels" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(138,8)-(139,0)]" + "@value": "[(132,8)-(135,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-operation/source-map/lexical/element_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/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#type" @@ -6245,46 +6212,46 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(133,6)-(133,18)]" + "@value": "[(131,6)-(131,18)]" } ] }, { - "@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-operation/source-map/lexical/element_1", + "@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/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiBinding#schemaSettings" + "@value": "http://a.ml/vocabularies/apiBinding#messageStoragePolicy" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(143,8)-(148,0)]" + "@value": "[(137,8)-(141,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-operation/source-map/lexical/element_3", + "@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/source-map/lexical/element_3", "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/topic-proto-schema/channel-bindings/bindings/googlepubsub-operation" + "@value": "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" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(133,6)-(148,0)]" + "@value": "[(131,6)-(146,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-operation/source-map/lexical/element_5", + "@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/source-map/lexical/element_5", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiBinding#messageStoragePolicy" + "@value": "http://a.ml/vocabularies/apiBinding#messageRetentionDuration" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(139,8)-(143,0)]" + "@value": "[(136,8)-(137,0)]" } ] } @@ -6309,7 +6276,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(133,0)-(148,0)]" + "@value": "[(131,0)-(146,0)]" } ] }, @@ -6322,7 +6289,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(133,0)-(148,0)]" + "@value": "[(131,0)-(146,0)]" } ] } @@ -6347,7 +6314,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(131,2)-(148,0)]" + "@value": "[(129,2)-(146,0)]" } ] }, @@ -6360,7 +6327,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(132,4)-(148,0)]" + "@value": "[(130,4)-(146,0)]" } ] } @@ -6398,7 +6365,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(1,0)-(201,0)]" + "@value": "[(1,0)-(199,0)]" } ] }, @@ -6424,7 +6391,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(38,0)-(148,0)]" + "@value": "[(38,0)-(146,0)]" } ] }, @@ -6547,7 +6514,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(182,10)-(182,14)]" + "@value": "[(180,10)-(180,14)]" } ] } @@ -6562,7 +6529,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(181,8)-(183,0)]" + "@value": "[(179,8)-(181,0)]" } ] }, @@ -6575,7 +6542,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(182,10)-(183,0)]" + "@value": "[(180,10)-(181,0)]" } ] } @@ -6625,7 +6592,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(181,8)-(183,0)]" + "@value": "[(179,8)-(181,0)]" } ] } @@ -6670,7 +6637,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(179,6)-(179,10)]" + "@value": "[(177,6)-(177,10)]" } ] } @@ -6685,7 +6652,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(180,6)-(183,0)]" + "@value": "[(178,6)-(181,0)]" } ] }, @@ -6698,7 +6665,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(178,4)-(178,10)]" + "@value": "[(176,4)-(176,10)]" } ] }, @@ -6711,7 +6678,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(178,4)-(183,0)]" + "@value": "[(176,4)-(181,0)]" } ] } @@ -6818,7 +6785,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(199,12)-(200,0)]" + "@value": "[(197,12)-(198,0)]" } ] } @@ -6858,7 +6825,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(200,12)-(201,0)]" + "@value": "[(198,12)-(199,0)]" } ] } @@ -6883,7 +6850,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(197,10)-(198,0)]" + "@value": "[(195,10)-(196,0)]" } ] }, @@ -6896,7 +6863,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(195,8)-(201,0)]" + "@value": "[(193,8)-(199,0)]" } ] }, @@ -6909,7 +6876,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(198,10)-(201,0)]" + "@value": "[(196,10)-(199,0)]" } ] }, @@ -6922,7 +6889,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(195,8)-(195,16)]" + "@value": "[(193,8)-(193,16)]" } ] }, @@ -6935,7 +6902,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(196,10)-(197,0)]" + "@value": "[(194,10)-(195,0)]" } ] } @@ -6960,7 +6927,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(192,0)-(201,0)]" + "@value": "[(190,0)-(199,0)]" } ] }, @@ -6973,7 +6940,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(194,12)-(201,0)]" + "@value": "[(192,12)-(199,0)]" } ] } @@ -7013,7 +6980,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(193,6)-(194,0)]" + "@value": "[(191,6)-(192,0)]" } ] }, @@ -7026,7 +6993,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(191,4)-(201,0)]" + "@value": "[(189,4)-(199,0)]" } ] }, @@ -7039,7 +7006,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(192,0)-(201,0)]" + "@value": "[(190,0)-(199,0)]" } ] }, @@ -7052,7 +7019,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(192,6)-(193,0)]" + "@value": "[(190,6)-(191,0)]" } ] }, @@ -7065,7 +7032,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(191,4)-(191,10)]" + "@value": "[(189,4)-(189,10)]" } ] } @@ -7093,15 +7060,15 @@ ], "http://a.ml/vocabularies/apiBinding#bindings": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message", + "@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": [ - "http://a.ml/vocabularies/apiBinding#GooglePubSubMessageBinding", + "http://a.ml/vocabularies/apiBinding#GooglePubSubMessageBinding010", "http://a.ml/vocabularies/apiBinding#MessageBinding", "http://a.ml/vocabularies/document#DomainElement" ], "http://a.ml/vocabularies/apiBinding#attribute": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/object_1", + "@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", "@type": [ "http://a.ml/vocabularies/data#Object", "http://a.ml/vocabularies/data#Node", @@ -7109,7 +7076,7 @@ ], "http://a.ml/vocabularies/data#exampleAttribute": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/object_1/exampleAttribute", + "@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": [ "http://a.ml/vocabularies/data#Scalar", "http://a.ml/vocabularies/data#Node", @@ -7132,13 +7099,13 @@ ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/object_1/exampleAttribute/source-map", + "@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/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/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/object_1/exampleAttribute/source-map/synthesized-field/element_1", + "@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/source-map/synthesized-field/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://www.w3.org/ns/shacl#datatype" @@ -7151,7 +7118,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/object_1/exampleAttribute/source-map/synthesized-field/element_0", + "@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/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/core#name" @@ -7166,15 +7133,15 @@ ], "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/message-bindings/bindings/googlepubsub-message/object_1/exampleAttribute/source-map/lexical/element_0", + "@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/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/msg/messageAvro/message-bindings/bindings/googlepubsub-message/object_1/exampleAttribute" + "@value": "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" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(154,30)-(154,42)]" + "@value": "[(152,30)-(152,42)]" } ] } @@ -7190,13 +7157,13 @@ ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/object_1/source-map", + "@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/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/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/object_1/source-map/synthesized-field/element_0", + "@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/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/core#name" @@ -7211,20 +7178,20 @@ ], "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/message-bindings/bindings/googlepubsub-message/object_1/source-map/lexical/element_1", + "@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/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/msg/messageAvro/message-bindings/bindings/googlepubsub-message/object_1" + "@value": "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" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(154,0)-(155,0)]" + "@value": "[(152,0)-(153,0)]" } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/object_1/source-map/lexical/element_0", + "@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/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/data#exampleAttribute" @@ -7232,7 +7199,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(154,12)-(155,0)]" + "@value": "[(152,12)-(153,0)]" } ] } @@ -7248,64 +7215,64 @@ ], "http://a.ml/vocabularies/apiBinding#schemaDefinition": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/googlepubsub-schemaDefinition", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message-010/googlepubsub-schemaDefinition-010", "@type": [ - "http://a.ml/vocabularies/apiBinding#GooglePubSubSchemaDefinition", + "http://a.ml/vocabularies/apiBinding#GooglePubSubSchemaDefinition010", "http://a.ml/vocabularies/document#DomainElement" ], - "http://a.ml/vocabularies/apiBinding#name": [ + "http://a.ml/vocabularies/apiBinding#type": [ { - "@value": "projects/your-project/schemas/message-avro" + "@value": "avro" } ], - "http://a.ml/vocabularies/apiBinding#type": [ + "http://a.ml/vocabularies/core#name": [ { - "@value": "avro" + "@value": "projects/your-project/schemas/message-avro" } ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/googlepubsub-schemaDefinition/source-map", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message-010/googlepubsub-schemaDefinition-010/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/googlepubsub-schemaDefinition/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message-010/googlepubsub-schemaDefinition-010/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiBinding#name" + "@value": "http://a.ml/vocabularies/apiBinding#type" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(158,12)-(159,0)]" + "@value": "[(157,12)-(158,0)]" } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/googlepubsub-schemaDefinition/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message-010/googlepubsub-schemaDefinition-010/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiBinding#type" + "@value": "http://a.ml/vocabularies/core#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(159,12)-(160,0)]" + "@value": "[(156,12)-(157,0)]" } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/googlepubsub-schemaDefinition/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message-010/googlepubsub-schemaDefinition-010/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/msg/messageAvro/message-bindings/bindings/googlepubsub-message/googlepubsub-schemaDefinition" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message-010/googlepubsub-schemaDefinition-010" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(157,17)-(160,0)]" + "@value": "[(155,17)-(158,0)]" } ] } @@ -7326,13 +7293,13 @@ ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/source-map", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message-010/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/source-map/lexical/element_5", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message-010/source-map/lexical/element_5", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#bindingVersion" @@ -7340,25 +7307,25 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(156,10)-(157,0)]" + "@value": "[(154,10)-(155,0)]" } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/source-map/lexical/element_3", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message-010/source-map/lexical/element_3", "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/message-bindings/bindings/googlepubsub-message" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message-010" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(152,8)-(160,0)]" + "@value": "[(150,8)-(158,0)]" } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message-010/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#schemaDefinition" @@ -7366,12 +7333,12 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(157,10)-(160,0)]" + "@value": "[(155,10)-(158,0)]" } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message-010/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#type" @@ -7379,12 +7346,12 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(152,8)-(152,20)]" + "@value": "[(150,8)-(150,20)]" } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message-010/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#attribute" @@ -7392,12 +7359,12 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(153,10)-(155,0)]" + "@value": "[(151,10)-(153,0)]" } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/source-map/lexical/element_4", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message-010/source-map/lexical/element_4", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#orderingKey" @@ -7405,7 +7372,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(155,10)-(156,0)]" + "@value": "[(153,10)-(154,0)]" } ] } @@ -7430,7 +7397,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(152,0)-(160,0)]" + "@value": "[(150,0)-(158,0)]" } ] }, @@ -7443,7 +7410,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(152,0)-(160,0)]" + "@value": "[(150,0)-(158,0)]" } ] } @@ -7483,7 +7450,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(150,4)-(150,15)]" + "@value": "[(148,4)-(148,15)]" } ] }, @@ -7496,7 +7463,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(151,6)-(160,0)]" + "@value": "[(149,6)-(158,0)]" } ] }, @@ -7509,7 +7476,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(150,4)-(160,0)]" + "@value": "[(148,4)-(158,0)]" } ] } @@ -7553,12 +7520,17 @@ ], "http://a.ml/vocabularies/document#link-target": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/marketData/payload/default/shape/schema/shape/schema" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/shape/market" } ], "http://a.ml/vocabularies/document#link-label": [ { - "@value": "#/components/schemas/market" + "@value": "market" + } + ], + "http://a.ml/vocabularies/document#recursive": [ + { + "@value": true } ], "http://www.w3.org/ns/shacl#name": [ @@ -7574,10 +7546,10 @@ ], "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/marketData/payload/default/shape/schema/source-map/synthesized-field/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/marketData/payload/default/shape/schema/source-map/synthesized-field/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/document#link-target" + "@value": "http://a.ml/vocabularies/document#link-label" } ], "http://a.ml/vocabularies/document-source-maps#value": [ @@ -7590,7 +7562,20 @@ "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/marketData/payload/default/shape/schema/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/document#link-label" + "@value": "http://a.ml/vocabularies/document#recursive" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "true" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/marketData/payload/default/shape/schema/source-map/synthesized-field/element_1", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "http://a.ml/vocabularies/document#link-target" } ], "http://a.ml/vocabularies/document-source-maps#value": [ @@ -7610,7 +7595,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(166,6)-(168,0)]" + "@value": "[(164,6)-(166,0)]" } ] } @@ -7635,7 +7620,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(161,0)-(177,0)]" + "@value": "[(159,0)-(175,0)]" } ] }, @@ -7648,7 +7633,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(166,6)-(168,0)]" + "@value": "[(164,6)-(166,0)]" } ] } @@ -7769,7 +7754,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(173,20)-(173,27)]" + "@value": "[(171,20)-(171,27)]" } ] } @@ -7845,7 +7830,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(174,20)-(174,26)]" + "@value": "[(172,20)-(172,26)]" } ] } @@ -7890,7 +7875,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(173,12)-(174,0)]" + "@value": "[(171,12)-(172,0)]" } ] }, @@ -7903,7 +7888,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(174,12)-(175,0)]" + "@value": "[(172,12)-(173,0)]" } ] }, @@ -7916,7 +7901,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(173,0)-(175,0)]" + "@value": "[(171,0)-(173,0)]" } ] } @@ -7974,7 +7959,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(170,10)-(171,0)]" + "@value": "[(168,10)-(169,0)]" } ] }, @@ -7987,7 +7972,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(171,10)-(172,0)]" + "@value": "[(169,10)-(170,0)]" } ] }, @@ -8000,7 +7985,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(172,18)-(175,0)]" + "@value": "[(170,18)-(173,0)]" } ] } @@ -8126,7 +8111,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(176,27)-(176,38)]" + "@value": "[(174,27)-(174,38)]" } ] } @@ -8171,7 +8156,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(176,0)-(177,0)]" + "@value": "[(174,0)-(175,0)]" } ] }, @@ -8184,7 +8169,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(176,12)-(177,0)]" + "@value": "[(174,12)-(175,0)]" } ] } @@ -8242,7 +8227,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(170,10)-(171,0)]" + "@value": "[(168,10)-(169,0)]" } ] }, @@ -8255,7 +8240,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(171,10)-(172,0)]" + "@value": "[(169,10)-(170,0)]" } ] }, @@ -8268,7 +8253,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(175,18)-(177,0)]" + "@value": "[(173,18)-(175,0)]" } ] } @@ -8328,7 +8313,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(162,6)-(163,0)]" + "@value": "[(160,6)-(161,0)]" } ] }, @@ -8341,7 +8326,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(160,4)-(177,0)]" + "@value": "[(158,4)-(175,0)]" } ] }, @@ -8354,7 +8339,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(161,6)-(162,0)]" + "@value": "[(159,6)-(160,0)]" } ] }, @@ -8367,7 +8352,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(163,6)-(164,0)]" + "@value": "[(161,6)-(162,0)]" } ] }, @@ -8380,7 +8365,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(160,4)-(160,14)]" + "@value": "[(158,4)-(158,14)]" } ] }, @@ -8393,7 +8378,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(164,6)-(166,0)]" + "@value": "[(162,6)-(164,0)]" } ] } @@ -8535,7 +8520,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(185,15)-(185,22)]" + "@value": "[(183,15)-(183,22)]" } ] } @@ -8580,7 +8565,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(185,6)-(186,0)]" + "@value": "[(183,6)-(184,0)]" } ] }, @@ -8593,7 +8578,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(186,6)-(187,0)]" + "@value": "[(184,6)-(185,0)]" } ] }, @@ -8606,7 +8591,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(185,6)-(186,0)]" + "@value": "[(183,6)-(184,0)]" } ] }, @@ -8619,7 +8604,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(185,0)-(187,0)]" + "@value": "[(183,0)-(185,0)]" } ] } @@ -8713,7 +8698,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(184,4)-(187,0)]" + "@value": "[(182,4)-(185,0)]" } ] }, @@ -8726,7 +8711,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(184,4)-(184,15)]" + "@value": "[(182,4)-(182,15)]" } ] } @@ -8868,7 +8853,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(188,15)-(188,17)]" + "@value": "[(186,15)-(186,17)]" } ] } @@ -8913,7 +8898,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(188,6)-(189,0)]" + "@value": "[(186,6)-(187,0)]" } ] }, @@ -8926,7 +8911,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(189,6)-(190,0)]" + "@value": "[(187,6)-(188,0)]" } ] }, @@ -8939,7 +8924,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(188,6)-(189,0)]" + "@value": "[(186,6)-(187,0)]" } ] }, @@ -8952,7 +8937,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(188,0)-(190,0)]" + "@value": "[(186,0)-(188,0)]" } ] } @@ -9046,7 +9031,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(187,4)-(190,0)]" + "@value": "[(185,4)-(188,0)]" } ] }, @@ -9059,7 +9044,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(187,4)-(187,11)]" + "@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 11b2771d63..31576b09d2 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 @@ -586,7 +586,7 @@ ], "http://a.ml/vocabularies/apiBinding#bindings": [ { - "@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-operation" + "@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" } ], "http://a.ml/vocabularies/document-source-maps#sources": [ @@ -617,7 +617,7 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api", - "http://a.ml/vocabularies/document-source-maps#value": "[(1,0)-(201,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(1,0)-(199,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/source-map/lexical/element_1", @@ -627,7 +627,7 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#endpoint", - "http://a.ml/vocabularies/document-source-maps#value": "[(38,0)-(148,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(38,0)-(146,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/source-map/lexical/element_2", @@ -1198,7 +1198,7 @@ ], "http://a.ml/vocabularies/apiBinding#bindings": [ { - "@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" + "@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" } ], "http://a.ml/vocabularies/document-source-maps#sources": [ @@ -1224,36 +1224,36 @@ { "@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)-(131,0)]" + "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/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)-(131,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(112,0)-(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-operation", + "@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", "@type": [ - "http://a.ml/vocabularies/apiBinding#GooglePubSubChannelBinding", + "http://a.ml/vocabularies/apiBinding#GooglePubSubChannelBinding010", "http://a.ml/vocabularies/apiBinding#ChannelBinding", "http://a.ml/vocabularies/document#DomainElement" ], + "http://a.ml/vocabularies/apiBinding#topic": "projects/your-project/topics/topic-proto-schema", "http://a.ml/vocabularies/apiBinding#labels": { - "@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-operation/object_1" + "@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/object_1" }, "http://a.ml/vocabularies/apiBinding#messageRetentionDuration": "86400s", "http://a.ml/vocabularies/apiBinding#messageStoragePolicy": { - "@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-operation/googlepubsub-messageStoragePolicy" + "@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/googlepubsub-messageStoragePolicy" }, "http://a.ml/vocabularies/apiBinding#schemaSettings": { - "@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-operation/googlepubsub-schemaSettings" + "@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/googlepubsub-schemaSettings" }, - "http://a.ml/vocabularies/apiBinding#topic": "projects/your-project/topics/topic-proto-schema", "http://a.ml/vocabularies/apiBinding#bindingVersion": "latest", "http://a.ml/vocabularies/apiBinding#type": "googlepubsub", "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@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-operation/source-map" + "@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/source-map" } ] }, @@ -1274,12 +1274,12 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/topic-proto-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/topic-proto-schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(131,2)-(148,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(129,2)-(146,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/topic-proto-schema/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": "[(132,4)-(148,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(130,4)-(146,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/server/some.com/variable/parameter/path/environment/scalar/environment/scalar_1", @@ -1952,25 +1952,25 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(92,0)-(96,0)]" }, { - "@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", + "@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", "@type": [ - "http://a.ml/vocabularies/apiBinding#SolaceOperationBinding", + "http://a.ml/vocabularies/apiBinding#SolaceOperationBinding020", "http://a.ml/vocabularies/apiBinding#OperationBinding", "http://a.ml/vocabularies/document#DomainElement" ], "http://a.ml/vocabularies/apiBinding#destinations": [ { - "@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/destinations/solace-destination" + "@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" }, { - "@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/destinations/solace-destination_1" + "@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_1" } ], - "http://a.ml/vocabularies/apiBinding#bindingVersion": "0.3.0", + "http://a.ml/vocabularies/apiBinding#bindingVersion": "0.2.0", "http://a.ml/vocabularies/apiBinding#type": "solace", "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@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/source-map" + "@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/source-map" } ] }, @@ -1991,35 +1991,35 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/forth-channel/supportedOperation/publish/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/supportedOperation/publish", - "http://a.ml/vocabularies/document-source-maps#value": "[(112,4)-(131,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(112,4)-(129,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/forth-channel/supportedOperation/publish/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": "[(113,6)-(131,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(113,6)-(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-operation/object_1", + "@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/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/data#label1": { - "@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-operation/object_1/label1" + "@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/object_1/label1" }, "http://a.ml/vocabularies/data#label2": { - "@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-operation/object_1/label2" + "@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/object_1/label2" }, "http://a.ml/vocabularies/core#name": "object_1", "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@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-operation/object_1/source-map" + "@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/object_1/source-map" } ] }, { - "@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-operation/googlepubsub-messageStoragePolicy", + "@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/googlepubsub-messageStoragePolicy", "@type": [ "http://a.ml/vocabularies/apiBinding#GooglePubSubMessageStoragePolicy", "http://a.ml/vocabularies/document#DomainElement" @@ -2030,69 +2030,69 @@ ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@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-operation/googlepubsub-messageStoragePolicy/source-map" + "@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/googlepubsub-messageStoragePolicy/source-map" } ] }, { - "@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-operation/googlepubsub-schemaSettings", + "@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/googlepubsub-schemaSettings", "@type": [ "http://a.ml/vocabularies/apiBinding#GooglePubSubSchemaSettings", "http://a.ml/vocabularies/document#DomainElement" ], + "http://a.ml/vocabularies/core#name": "projects/your-project/schemas/messageAvro", "http://a.ml/vocabularies/apiBinding#encoding": "binary", "http://a.ml/vocabularies/apiBinding#firstRevisionId": "1.0.0", "http://a.ml/vocabularies/apiBinding#lastRevisionId": "2.0.0", - "http://a.ml/vocabularies/apiBinding#name": "projects/your-project/schemas/messageAvro", "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@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-operation/googlepubsub-schemaSettings/source-map" + "@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/googlepubsub-schemaSettings/source-map" } ] }, { - "@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-operation/source-map", + "@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/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/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/topic-proto-schema/channel-bindings/bindings/googlepubsub-operation/source-map/synthesized-field/element_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/source-map/synthesized-field/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/topic-proto-schema/channel-bindings/bindings/googlepubsub-operation/source-map/lexical/element_6" + "@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/source-map/lexical/element_6" }, { - "@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-operation/source-map/lexical/element_4" + "@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/source-map/lexical/element_4" }, { - "@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-operation/source-map/lexical/element_2" + "@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/source-map/lexical/element_2" }, { - "@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-operation/source-map/lexical/element_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/source-map/lexical/element_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-operation/source-map/lexical/element_1" + "@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/source-map/lexical/element_1" }, { - "@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-operation/source-map/lexical/element_3" + "@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/source-map/lexical/element_3" }, { - "@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-operation/source-map/lexical/element_5" + "@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/source-map/lexical/element_5" } ] }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/topic-proto-schema/channel-bindings/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/topic-proto-schema/channel-bindings", - "http://a.ml/vocabularies/document-source-maps#value": "[(133,0)-(148,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(131,0)-(146,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/topic-proto-schema/channel-bindings/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#bindings", - "http://a.ml/vocabularies/document-source-maps#value": "[(133,0)-(148,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(131,0)-(146,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/server/some.com/variable/parameter/path/environment/scalar/environment/scalar_1/source-map", @@ -2792,71 +2792,73 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(93,8)-(94,0)]" }, { - "@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/destinations/solace-destination", + "@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", "@type": [ + "http://a.ml/vocabularies/apiBinding#SolaceOperationDestination020", "http://a.ml/vocabularies/apiBinding#SolaceOperationDestination", "http://a.ml/vocabularies/document#DomainElement" ], "http://a.ml/vocabularies/apiBinding#destinationType": "queue", "http://a.ml/vocabularies/apiBinding#deliveryMode": "persistent", "http://a.ml/vocabularies/apiBinding#queue": { - "@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/destinations/solace-destination/solace-queue" + "@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" }, "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@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/destinations/solace-destination/source-map" + "@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/source-map" } ] }, { - "@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/destinations/solace-destination_1", + "@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_1", "@type": [ + "http://a.ml/vocabularies/apiBinding#SolaceOperationDestination020", "http://a.ml/vocabularies/apiBinding#SolaceOperationDestination", "http://a.ml/vocabularies/document#DomainElement" ], "http://a.ml/vocabularies/apiBinding#destinationType": "topic", "http://a.ml/vocabularies/apiBinding#deliveryMode": "persistent", "http://a.ml/vocabularies/apiBinding#topic": { - "@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/destinations/solace-destination_1/solace-topic" + "@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_1/solace-topic" }, "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@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/destinations/solace-destination_1/source-map" + "@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_1/source-map" } ] }, { - "@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/source-map", + "@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/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/forth-channel/supportedOperation/publish/operation-bindings/bindings/solace-operation/source-map/lexical/element_3" + "@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/source-map/lexical/element_3" }, { - "@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/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/supportedOperation/publish/operation-bindings/bindings/solace-operation-020/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/supportedOperation/publish/operation-bindings/bindings/solace-operation/source-map/lexical/element_0" + "@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/source-map/lexical/element_0" }, { - "@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/source-map/lexical/element_2" + "@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/source-map/lexical/element_2" } ] }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/forth-channel/supportedOperation/publish/operation-bindings/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/supportedOperation/publish/operation-bindings", - "http://a.ml/vocabularies/document-source-maps#value": "[(114,0)-(131,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(114,0)-(129,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/forth-channel/supportedOperation/publish/operation-bindings/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#bindings", - "http://a.ml/vocabularies/document-source-maps#value": "[(114,0)-(131,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(114,0)-(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-operation/object_1/label1", + "@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/object_1/label1", "@type": [ "http://a.ml/vocabularies/data#Scalar", "http://a.ml/vocabularies/data#Node", @@ -2871,12 +2873,12 @@ "http://a.ml/vocabularies/core#name": "label1", "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@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-operation/object_1/label1/source-map" + "@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/object_1/label1/source-map" } ] }, { - "@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-operation/object_1/label2", + "@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/object_1/label2", "@type": [ "http://a.ml/vocabularies/data#Scalar", "http://a.ml/vocabularies/data#Node", @@ -2891,108 +2893,108 @@ "http://a.ml/vocabularies/core#name": "label2", "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@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-operation/object_1/label2/source-map" + "@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/object_1/label2/source-map" } ] }, { - "@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-operation/object_1/source-map", + "@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/object_1/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/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/topic-proto-schema/channel-bindings/bindings/googlepubsub-operation/object_1/source-map/synthesized-field/element_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/object_1/source-map/synthesized-field/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/topic-proto-schema/channel-bindings/bindings/googlepubsub-operation/object_1/source-map/lexical/element_2" + "@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/object_1/source-map/lexical/element_2" }, { - "@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-operation/object_1/source-map/lexical/element_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/object_1/source-map/lexical/element_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-operation/object_1/source-map/lexical/element_1" + "@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/object_1/source-map/lexical/element_1" } ] }, { - "@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-operation/googlepubsub-messageStoragePolicy/source-map", + "@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/googlepubsub-messageStoragePolicy/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/topic-proto-schema/channel-bindings/bindings/googlepubsub-operation/googlepubsub-messageStoragePolicy/source-map/lexical/element_1" + "@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/googlepubsub-messageStoragePolicy/source-map/lexical/element_1" }, { - "@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-operation/googlepubsub-messageStoragePolicy/source-map/lexical/element_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/googlepubsub-messageStoragePolicy/source-map/lexical/element_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-operation/googlepubsub-schemaSettings/source-map", + "@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/googlepubsub-schemaSettings/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/topic-proto-schema/channel-bindings/bindings/googlepubsub-operation/googlepubsub-schemaSettings/source-map/lexical/element_4" + "@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/googlepubsub-schemaSettings/source-map/lexical/element_4" }, { - "@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-operation/googlepubsub-schemaSettings/source-map/lexical/element_2" + "@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/googlepubsub-schemaSettings/source-map/lexical/element_2" }, { - "@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-operation/googlepubsub-schemaSettings/source-map/lexical/element_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/googlepubsub-schemaSettings/source-map/lexical/element_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-operation/googlepubsub-schemaSettings/source-map/lexical/element_1" + "@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/googlepubsub-schemaSettings/source-map/lexical/element_1" }, { - "@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-operation/googlepubsub-schemaSettings/source-map/lexical/element_3" + "@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/googlepubsub-schemaSettings/source-map/lexical/element_3" } ] }, { - "@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-operation/source-map/synthesized-field/element_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/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#bindingVersion", "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/topic-proto-schema/channel-bindings/bindings/googlepubsub-operation/source-map/lexical/element_6", - "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#topic", - "http://a.ml/vocabularies/document-source-maps#value": "[(137,8)-(138,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/source-map/lexical/element_6", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#schemaSettings", + "http://a.ml/vocabularies/document-source-maps#value": "[(141,8)-(146,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-operation/source-map/lexical/element_4", - "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#labels", - "http://a.ml/vocabularies/document-source-maps#value": "[(134,8)-(137,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/source-map/lexical/element_4", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#topic", + "http://a.ml/vocabularies/document-source-maps#value": "[(135,8)-(136,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-operation/source-map/lexical/element_2", - "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#messageRetentionDuration", - "http://a.ml/vocabularies/document-source-maps#value": "[(138,8)-(139,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/source-map/lexical/element_2", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#labels", + "http://a.ml/vocabularies/document-source-maps#value": "[(132,8)-(135,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-operation/source-map/lexical/element_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/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#type", - "http://a.ml/vocabularies/document-source-maps#value": "[(133,6)-(133,18)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(131,6)-(131,18)]" }, { - "@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-operation/source-map/lexical/element_1", - "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#schemaSettings", - "http://a.ml/vocabularies/document-source-maps#value": "[(143,8)-(148,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/source-map/lexical/element_1", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#messageStoragePolicy", + "http://a.ml/vocabularies/document-source-maps#value": "[(137,8)-(141,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-operation/source-map/lexical/element_3", - "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/topic-proto-schema/channel-bindings/bindings/googlepubsub-operation", - "http://a.ml/vocabularies/document-source-maps#value": "[(133,6)-(148,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/source-map/lexical/element_3", + "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/topic-proto-schema/channel-bindings/bindings/googlepubsub-channel-010", + "http://a.ml/vocabularies/document-source-maps#value": "[(131,6)-(146,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-operation/source-map/lexical/element_5", - "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#messageStoragePolicy", - "http://a.ml/vocabularies/document-source-maps#value": "[(139,8)-(143,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/source-map/lexical/element_5", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#messageRetentionDuration", + "http://a.ml/vocabularies/document-source-maps#value": "[(136,8)-(137,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/server/some.com/variable/parameter/path/environment/scalar/environment/scalar_1/source-map/synthesized-field/element_1", @@ -3069,27 +3071,27 @@ { "@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", - "http://a.ml/vocabularies/document-source-maps#value": "[(193,6)-(194,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(191,6)-(192,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/scheme/oauth2/source-map/lexical/element_2", "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": "[(191,4)-(201,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(189,4)-(199,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/scheme/oauth2/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/security#settings", - "http://a.ml/vocabularies/document-source-maps#value": "[(192,0)-(201,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(190,0)-(199,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/scheme/oauth2/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/security#type", - "http://a.ml/vocabularies/document-source-maps#value": "[(192,6)-(193,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(190,6)-(191,0)]" }, { "@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#element": "http://a.ml/vocabularies/core#name", - "http://a.ml/vocabularies/document-source-maps#value": "[(191,4)-(191,10)]" + "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#/async-api/server/some.com/security/requirement_1/schemes/oauth2/settings/oauth2/flows/default-flow/scope/write%3Apets", @@ -3585,8 +3587,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(99,8)-(99,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/destinations/solace-destination/solace-queue", + "@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", "@type": [ + "http://a.ml/vocabularies/apiBinding#SolaceOperationQueue010", "http://a.ml/vocabularies/apiBinding#SolaceOperationQueue", "http://a.ml/vocabularies/document#DomainElement" ], @@ -3594,38 +3597,36 @@ "person/*/created" ], "http://a.ml/vocabularies/apiBinding#accessType": "exclusive", - "http://a.ml/vocabularies/apiBinding#maxMsgSpoolSize": "test", - "http://a.ml/vocabularies/apiBinding#maxTtl": "test", "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@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/destinations/solace-destination/solace-queue/source-map" + "@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" } ] }, { - "@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/destinations/solace-destination/source-map", + "@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/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/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/forth-channel/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination/source-map/synthesized-field/element_0" + "@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/source-map/synthesized-field/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/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination/source-map/lexical/element_2" + "@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/source-map/lexical/element_2" }, { - "@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/destinations/solace-destination/source-map/lexical/element_0" + "@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/source-map/lexical/element_0" }, { - "@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/destinations/solace-destination/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/supportedOperation/publish/operation-bindings/bindings/solace-operation-020/destinations/solace-operation-destination-020/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/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination_1/solace-topic", + "@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_1/solace-topic", "@type": [ "http://a.ml/vocabularies/apiBinding#SolaceOperationTopic", "http://a.ml/vocabularies/document#DomainElement" @@ -3635,144 +3636,144 @@ ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@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/destinations/solace-destination_1/solace-topic/source-map" + "@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_1/solace-topic/source-map" } ] }, { - "@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/destinations/solace-destination_1/source-map", + "@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_1/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/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/forth-channel/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination_1/source-map/synthesized-field/element_0" + "@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_1/source-map/synthesized-field/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/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination_1/source-map/lexical/element_2" + "@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_1/source-map/lexical/element_2" }, { - "@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/destinations/solace-destination_1/source-map/lexical/element_0" + "@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_1/source-map/lexical/element_0" }, { - "@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/destinations/solace-destination_1/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/supportedOperation/publish/operation-bindings/bindings/solace-operation-020/destinations/solace-operation-destination-020_1/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/supportedOperation/publish/operation-bindings/bindings/solace-operation/source-map/lexical/element_3", + "@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/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#bindingVersion", "http://a.ml/vocabularies/document-source-maps#value": "[(115,10)-(116,0)]" }, { - "@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/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/supportedOperation/publish/operation-bindings/bindings/solace-operation-020/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#destinations", - "http://a.ml/vocabularies/document-source-maps#value": "[(116,10)-(131,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(116,10)-(129,0)]" }, { - "@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/source-map/lexical/element_0", + "@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/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#type", "http://a.ml/vocabularies/document-source-maps#value": "[(114,8)-(114,14)]" }, { - "@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/source-map/lexical/element_2", - "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/supportedOperation/publish/operation-bindings/bindings/solace-operation", - "http://a.ml/vocabularies/document-source-maps#value": "[(114,8)-(131,0)]" + "@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/source-map/lexical/element_2", + "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/supportedOperation/publish/operation-bindings/bindings/solace-operation-020", + "http://a.ml/vocabularies/document-source-maps#value": "[(114,8)-(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-operation/object_1/label1/source-map", + "@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/object_1/label1/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/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/topic-proto-schema/channel-bindings/bindings/googlepubsub-operation/object_1/label1/source-map/synthesized-field/element_1" + "@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/object_1/label1/source-map/synthesized-field/element_1" }, { - "@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-operation/object_1/label1/source-map/synthesized-field/element_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/object_1/label1/source-map/synthesized-field/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/topic-proto-schema/channel-bindings/bindings/googlepubsub-operation/object_1/label1/source-map/lexical/element_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/object_1/label1/source-map/lexical/element_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-operation/object_1/label2/source-map", + "@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/object_1/label2/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/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/topic-proto-schema/channel-bindings/bindings/googlepubsub-operation/object_1/label2/source-map/synthesized-field/element_1" + "@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/object_1/label2/source-map/synthesized-field/element_1" }, { - "@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-operation/object_1/label2/source-map/synthesized-field/element_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/object_1/label2/source-map/synthesized-field/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/topic-proto-schema/channel-bindings/bindings/googlepubsub-operation/object_1/label2/source-map/lexical/element_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/object_1/label2/source-map/lexical/element_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-operation/object_1/source-map/synthesized-field/element_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/object_1/source-map/synthesized-field/element_0", "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/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/topic-proto-schema/channel-bindings/bindings/googlepubsub-operation/object_1/source-map/lexical/element_2", + "@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/object_1/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/data#label1", - "http://a.ml/vocabularies/document-source-maps#value": "[(135,10)-(136,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(133,10)-(134,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-operation/object_1/source-map/lexical/element_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/object_1/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/data#label2", - "http://a.ml/vocabularies/document-source-maps#value": "[(136,10)-(137,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(134,10)-(135,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-operation/object_1/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/topic-proto-schema/channel-bindings/bindings/googlepubsub-operation/object_1", - "http://a.ml/vocabularies/document-source-maps#value": "[(135,0)-(137,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/object_1/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/topic-proto-schema/channel-bindings/bindings/googlepubsub-channel-010/object_1", + "http://a.ml/vocabularies/document-source-maps#value": "[(133,0)-(135,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-operation/googlepubsub-messageStoragePolicy/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/topic-proto-schema/channel-bindings/bindings/googlepubsub-operation/googlepubsub-messageStoragePolicy", - "http://a.ml/vocabularies/document-source-maps#value": "[(139,29)-(143,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/googlepubsub-messageStoragePolicy/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/topic-proto-schema/channel-bindings/bindings/googlepubsub-channel-010/googlepubsub-messageStoragePolicy", + "http://a.ml/vocabularies/document-source-maps#value": "[(137,29)-(141,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-operation/googlepubsub-messageStoragePolicy/source-map/lexical/element_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/googlepubsub-messageStoragePolicy/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#allowedPersistenceRegions", - "http://a.ml/vocabularies/document-source-maps#value": "[(140,10)-(143,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(138,10)-(141,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-operation/googlepubsub-schemaSettings/source-map/lexical/element_4", - "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#lastRevisionId", - "http://a.ml/vocabularies/document-source-maps#value": "[(147,10)-(148,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/googlepubsub-schemaSettings/source-map/lexical/element_4", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#firstRevisionId", + "http://a.ml/vocabularies/document-source-maps#value": "[(144,10)-(145,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-operation/googlepubsub-schemaSettings/source-map/lexical/element_2", - "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/topic-proto-schema/channel-bindings/bindings/googlepubsub-operation/googlepubsub-schemaSettings", - "http://a.ml/vocabularies/document-source-maps#value": "[(143,23)-(148,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/googlepubsub-schemaSettings/source-map/lexical/element_2", + "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/topic-proto-schema/channel-bindings/bindings/googlepubsub-channel-010/googlepubsub-schemaSettings", + "http://a.ml/vocabularies/document-source-maps#value": "[(141,23)-(146,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-operation/googlepubsub-schemaSettings/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#name", + "@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/googlepubsub-schemaSettings/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#lastRevisionId", "http://a.ml/vocabularies/document-source-maps#value": "[(145,10)-(146,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-operation/googlepubsub-schemaSettings/source-map/lexical/element_1", - "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#firstRevisionId", - "http://a.ml/vocabularies/document-source-maps#value": "[(146,10)-(147,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/googlepubsub-schemaSettings/source-map/lexical/element_1", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#encoding", + "http://a.ml/vocabularies/document-source-maps#value": "[(142,10)-(143,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-operation/googlepubsub-schemaSettings/source-map/lexical/element_3", - "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#encoding", - "http://a.ml/vocabularies/document-source-maps#value": "[(144,10)-(145,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/googlepubsub-schemaSettings/source-map/lexical/element_3", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", + "http://a.ml/vocabularies/document-source-maps#value": "[(143,10)-(144,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/scheme/oauth2/settings/oauth2/flows/implicit/scope/write%3Apets", @@ -3828,12 +3829,12 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/scheme/oauth2/settings/oauth2/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/scheme/oauth2/settings/oauth2", - "http://a.ml/vocabularies/document-source-maps#value": "[(192,0)-(201,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(190,0)-(199,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/scheme/oauth2/settings/oauth2/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/security#flows", - "http://a.ml/vocabularies/document-source-maps#value": "[(194,12)-(201,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(192,12)-(199,0)]" }, { "@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/source-map", @@ -4184,111 +4185,105 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(102,10)-(109,0)]" }, { - "@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/destinations/solace-destination/solace-queue/source-map", + "@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", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/forth-channel/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination/solace-queue/source-map/lexical/element_4" - }, - { - "@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/destinations/solace-destination/solace-queue/source-map/lexical/element_2" - }, - { - "@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/destinations/solace-destination/solace-queue/source-map/lexical/element_0" + "@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" }, { - "@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/destinations/solace-destination/solace-queue/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/supportedOperation/publish/operation-bindings/bindings/solace-operation-020/destinations/solace-operation-destination-020/solace-operation-queue-010/source-map/lexical/element_0" }, { - "@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/destinations/solace-destination/solace-queue/source-map/lexical/element_3" + "@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_1" } ] }, { - "@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/destinations/solace-destination/source-map/synthesized-field/element_0", + "@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/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#deliveryMode", "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/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination/source-map/lexical/element_2", + "@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/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#destinationType", "http://a.ml/vocabularies/document-source-maps#value": "[(118,14)-(119,0)]" }, { - "@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/destinations/solace-destination/source-map/lexical/element_0", + "@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/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#queue", - "http://a.ml/vocabularies/document-source-maps#value": "[(119,14)-(126,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(119,14)-(124,0)]" }, { - "@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/destinations/solace-destination/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/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination", - "http://a.ml/vocabularies/document-source-maps#value": "[(118,0)-(126,0)]" + "@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/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/supportedOperation/publish/operation-bindings/bindings/solace-operation-020/destinations/solace-operation-destination-020", + "http://a.ml/vocabularies/document-source-maps#value": "[(118,0)-(124,0)]" }, { - "@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/destinations/solace-destination_1/solace-topic/source-map", + "@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_1/solace-topic/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/forth-channel/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination_1/solace-topic/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/supportedOperation/publish/operation-bindings/bindings/solace-operation-020/destinations/solace-operation-destination-020_1/solace-topic/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/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination_1/solace-topic/source-map/lexical/element_0" + "@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_1/solace-topic/source-map/lexical/element_0" } ] }, { - "@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/destinations/solace-destination_1/source-map/synthesized-field/element_0", + "@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_1/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#deliveryMode", "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/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination_1/source-map/lexical/element_2", + "@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_1/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#destinationType", - "http://a.ml/vocabularies/document-source-maps#value": "[(127,14)-(128,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(125,14)-(126,0)]" }, { - "@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/destinations/solace-destination_1/source-map/lexical/element_0", + "@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_1/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#topic", - "http://a.ml/vocabularies/document-source-maps#value": "[(128,14)-(131,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(126,14)-(129,0)]" }, { - "@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/destinations/solace-destination_1/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/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination_1", - "http://a.ml/vocabularies/document-source-maps#value": "[(127,0)-(131,0)]" + "@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_1/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/supportedOperation/publish/operation-bindings/bindings/solace-operation-020/destinations/solace-operation-destination-020_1", + "http://a.ml/vocabularies/document-source-maps#value": "[(125,0)-(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-operation/object_1/label1/source-map/synthesized-field/element_1", + "@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/object_1/label1/source-map/synthesized-field/element_1", "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/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/topic-proto-schema/channel-bindings/bindings/googlepubsub-operation/object_1/label1/source-map/synthesized-field/element_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/object_1/label1/source-map/synthesized-field/element_0", "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/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/topic-proto-schema/channel-bindings/bindings/googlepubsub-operation/object_1/label1/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/topic-proto-schema/channel-bindings/bindings/googlepubsub-operation/object_1/label1", - "http://a.ml/vocabularies/document-source-maps#value": "[(135,18)-(135,24)]" + "@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/object_1/label1/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/topic-proto-schema/channel-bindings/bindings/googlepubsub-channel-010/object_1/label1", + "http://a.ml/vocabularies/document-source-maps#value": "[(133,18)-(133,24)]" }, { - "@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-operation/object_1/label2/source-map/synthesized-field/element_1", + "@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/object_1/label2/source-map/synthesized-field/element_1", "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/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/topic-proto-schema/channel-bindings/bindings/googlepubsub-operation/object_1/label2/source-map/synthesized-field/element_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/object_1/label2/source-map/synthesized-field/element_0", "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/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/topic-proto-schema/channel-bindings/bindings/googlepubsub-operation/object_1/label2/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/topic-proto-schema/channel-bindings/bindings/googlepubsub-operation/object_1/label2", - "http://a.ml/vocabularies/document-source-maps#value": "[(136,18)-(136,24)]" + "@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/object_1/label2/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/topic-proto-schema/channel-bindings/bindings/googlepubsub-channel-010/object_1/label2", + "http://a.ml/vocabularies/document-source-maps#value": "[(134,18)-(134,24)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/scheme/oauth2/settings/oauth2/flows/implicit/scope/write%3Apets/source-map", @@ -4315,27 +4310,27 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/scheme/oauth2/settings/oauth2/flows/implicit/source-map/lexical/element_4", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/security#refreshUri", - "http://a.ml/vocabularies/document-source-maps#value": "[(197,10)-(198,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(195,10)-(196,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/scheme/oauth2/settings/oauth2/flows/implicit/source-map/lexical/element_2", "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", - "http://a.ml/vocabularies/document-source-maps#value": "[(195,8)-(201,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(193,8)-(199,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/scheme/oauth2/settings/oauth2/flows/implicit/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/security#scope", - "http://a.ml/vocabularies/document-source-maps#value": "[(198,10)-(201,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(196,10)-(199,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/scheme/oauth2/settings/oauth2/flows/implicit/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/security#flow", - "http://a.ml/vocabularies/document-source-maps#value": "[(195,8)-(195,16)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(193,8)-(193,16)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/scheme/oauth2/settings/oauth2/flows/implicit/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/security#authorizationUri", - "http://a.ml/vocabularies/document-source-maps#value": "[(196,10)-(197,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(194,10)-(195,0)]" }, { "@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/source-map/lexical/element_0", @@ -4500,49 +4495,39 @@ "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/destinations/solace-destination/solace-queue/source-map/lexical/element_4", - "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#maxMsgSpoolSize", - "http://a.ml/vocabularies/document-source-maps#value": "[(122,16)-(123,0)]" - }, - { - "@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/destinations/solace-destination/solace-queue/source-map/lexical/element_2", - "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/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination/solace-queue", - "http://a.ml/vocabularies/document-source-maps#value": "[(119,20)-(126,0)]" - }, - { - "@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/destinations/solace-destination/solace-queue/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#maxTtl", - "http://a.ml/vocabularies/document-source-maps#value": "[(123,16)-(124,0)]" + "@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", + "http://a.ml/vocabularies/document-source-maps#value": "[(122,16)-(124,0)]" }, { - "@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/destinations/solace-destination/solace-queue/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/supportedOperation/publish/operation-bindings/bindings/solace-operation-020/destinations/solace-operation-destination-020/solace-operation-queue-010/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#accessType", "http://a.ml/vocabularies/document-source-maps#value": "[(121,16)-(122,0)]" }, { - "@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/destinations/solace-destination/solace-queue/source-map/lexical/element_3", - "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#topicSubscriptions", - "http://a.ml/vocabularies/document-source-maps#value": "[(124,16)-(126,0)]" + "@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_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/supportedOperation/publish/operation-bindings/bindings/solace-operation-020/destinations/solace-operation-destination-020/solace-operation-queue-010", + "http://a.ml/vocabularies/document-source-maps#value": "[(119,20)-(124,0)]" }, { - "@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/destinations/solace-destination_1/solace-topic/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/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination_1/solace-topic", - "http://a.ml/vocabularies/document-source-maps#value": "[(128,20)-(131,0)]" + "@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_1/solace-topic/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/supportedOperation/publish/operation-bindings/bindings/solace-operation-020/destinations/solace-operation-destination-020_1/solace-topic", + "http://a.ml/vocabularies/document-source-maps#value": "[(126,20)-(129,0)]" }, { - "@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/destinations/solace-destination_1/solace-topic/source-map/lexical/element_0", + "@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_1/solace-topic/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#topicSubscriptions", - "http://a.ml/vocabularies/document-source-maps#value": "[(129,16)-(131,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(127,16)-(129,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/scheme/oauth2/settings/oauth2/flows/implicit/scope/write%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#/declares/scheme/oauth2/settings/oauth2/flows/implicit/scope/write%3Apets", - "http://a.ml/vocabularies/document-source-maps#value": "[(199,12)-(200,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(197,12)-(198,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/scheme/oauth2/settings/oauth2/flows/implicit/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#/declares/scheme/oauth2/settings/oauth2/flows/implicit/scope/read%3Apets", - "http://a.ml/vocabularies/document-source-maps#value": "[(200,12)-(201,0)]" + "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", @@ -4818,7 +4803,7 @@ ], "http://a.ml/vocabularies/apiBinding#bindings": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message-010" } ], "http://a.ml/vocabularies/document-source-maps#sources": [ @@ -5114,22 +5099,22 @@ { "@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#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": "[(179,6)-(179,10)]" + "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/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": "[(180,6)-(183,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(178,6)-(181,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/shape/market/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": "[(178,4)-(178,10)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(176,4)-(176,10)]" }, { "@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#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": "[(178,4)-(183,0)]" + "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", @@ -5137,24 +5122,24 @@ "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", + "@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": [ - "http://a.ml/vocabularies/apiBinding#GooglePubSubMessageBinding", + "http://a.ml/vocabularies/apiBinding#GooglePubSubMessageBinding010", "http://a.ml/vocabularies/apiBinding#MessageBinding", "http://a.ml/vocabularies/document#DomainElement" ], "http://a.ml/vocabularies/apiBinding#attribute": { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/object_1" + "@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" }, "http://a.ml/vocabularies/apiBinding#orderingKey": "userEventOrder", "http://a.ml/vocabularies/apiBinding#schemaDefinition": { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/googlepubsub-schemaDefinition" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message-010/googlepubsub-schemaDefinition-010" }, "http://a.ml/vocabularies/apiBinding#bindingVersion": "0.1.0", "http://a.ml/vocabularies/apiBinding#type": "googlepubsub", "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/source-map" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message-010/source-map" } ] }, @@ -5180,17 +5165,17 @@ { "@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", - "http://a.ml/vocabularies/document-source-maps#value": "[(150,4)-(150,15)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(148,4)-(148,15)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/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": "[(151,6)-(160,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(149,6)-(158,0)]" }, { "@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#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": "[(150,4)-(160,0)]" + "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/marketData/payload/default/shape/schema", @@ -5203,10 +5188,11 @@ ], "http://a.ml/vocabularies/document#link-target": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/marketData/payload/default/shape/schema/shape/schema" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/shape/market" } ], - "http://a.ml/vocabularies/document#link-label": "#/components/schemas/market", + "http://a.ml/vocabularies/document#link-label": "market", + "http://a.ml/vocabularies/document#recursive": true, "http://www.w3.org/ns/shacl#name": "schema", "http://a.ml/vocabularies/document-source-maps#sources": [ { @@ -5333,32 +5319,32 @@ { "@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", - "http://a.ml/vocabularies/document-source-maps#value": "[(162,6)-(163,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(160,6)-(161,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/marketData/source-map/lexical/element_3", "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": "[(160,4)-(177,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(158,4)-(175,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/marketData/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#displayName", - "http://a.ml/vocabularies/document-source-maps#value": "[(161,6)-(162,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(159,6)-(160,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/marketData/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#messageId", - "http://a.ml/vocabularies/document-source-maps#value": "[(163,6)-(164,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(161,6)-(162,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/marketData/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", - "http://a.ml/vocabularies/document-source-maps#value": "[(160,4)-(160,14)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(158,4)-(158,14)]" }, { "@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#element": "http://a.ml/vocabularies/core#description", - "http://a.ml/vocabularies/document-source-maps#value": "[(164,6)-(166,0)]" + "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", @@ -5438,12 +5424,12 @@ { "@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", - "http://a.ml/vocabularies/document-source-maps#value": "[(184,4)-(187,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(182,4)-(185,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": "http://a.ml/vocabularies/core#name", - "http://a.ml/vocabularies/document-source-maps#value": "[(184,4)-(184,15)]" + "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", @@ -5523,12 +5509,12 @@ { "@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", - "http://a.ml/vocabularies/document-source-maps#value": "[(187,4)-(190,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(185,4)-(188,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": "http://a.ml/vocabularies/core#name", - "http://a.ml/vocabularies/document-source-maps#value": "[(187,4)-(187,11)]" + "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", @@ -5562,74 +5548,74 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/shape/market/property/property/type/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#/declares/shape/market/property/property/type", - "http://a.ml/vocabularies/document-source-maps#value": "[(181,8)-(183,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(179,8)-(181,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/object_1", + "@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", "@type": [ "http://a.ml/vocabularies/data#Object", "http://a.ml/vocabularies/data#Node", "http://a.ml/vocabularies/document#DomainElement" ], "http://a.ml/vocabularies/data#exampleAttribute": { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/object_1/exampleAttribute" + "@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" }, "http://a.ml/vocabularies/core#name": "object_1", "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/object_1/source-map" + "@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/source-map" } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/googlepubsub-schemaDefinition", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message-010/googlepubsub-schemaDefinition-010", "@type": [ - "http://a.ml/vocabularies/apiBinding#GooglePubSubSchemaDefinition", + "http://a.ml/vocabularies/apiBinding#GooglePubSubSchemaDefinition010", "http://a.ml/vocabularies/document#DomainElement" ], - "http://a.ml/vocabularies/apiBinding#name": "projects/your-project/schemas/message-avro", "http://a.ml/vocabularies/apiBinding#type": "avro", + "http://a.ml/vocabularies/core#name": "projects/your-project/schemas/message-avro", "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/googlepubsub-schemaDefinition/source-map" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message-010/googlepubsub-schemaDefinition-010/source-map" } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/source-map", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message-010/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/source-map/lexical/element_5" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message-010/source-map/lexical/element_5" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/source-map/lexical/element_3" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message-010/source-map/lexical/element_3" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/source-map/lexical/element_1" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message-010/source-map/lexical/element_1" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message-010/source-map/lexical/element_0" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/source-map/lexical/element_2" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message-010/source-map/lexical/element_2" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/source-map/lexical/element_4" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message-010/source-map/lexical/element_4" } ] }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/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/msg/messageAvro/message-bindings", - "http://a.ml/vocabularies/document-source-maps#value": "[(152,0)-(160,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(150,0)-(158,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#bindings", - "http://a.ml/vocabularies/document-source-maps#value": "[(152,0)-(160,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(150,0)-(158,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/marketData/payload/default/shape/schema/source-map", @@ -5638,10 +5624,13 @@ ], "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/marketData/payload/default/shape/schema/source-map/synthesized-field/element_1" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/marketData/payload/default/shape/schema/source-map/synthesized-field/element_2" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/marketData/payload/default/shape/schema/source-map/synthesized-field/element_0" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/marketData/payload/default/shape/schema/source-map/synthesized-field/element_1" } ], "http://a.ml/vocabularies/document-source-maps#lexical": [ @@ -5653,12 +5642,12 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/marketData/payload/default/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/msg/marketData/payload/default", - "http://a.ml/vocabularies/document-source-maps#value": "[(161,0)-(177,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(159,0)-(175,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/marketData/payload/default/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(166,6)-(168,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(164,6)-(166,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/marketData/examples/example/default-example_2/object_1/userId", @@ -5735,17 +5724,17 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/marketData/examples/example/default-example_2/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#displayName", - "http://a.ml/vocabularies/document-source-maps#value": "[(170,10)-(171,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(168,10)-(169,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/marketData/examples/example/default-example_2/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": "[(171,10)-(172,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(169,10)-(170,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/marketData/examples/example/default-example_2/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/msg/marketData/examples/example/default-example_2", - "http://a.ml/vocabularies/document-source-maps#value": "[(172,18)-(175,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(170,18)-(173,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/marketData/examples/example/default-example_2/source-map/tracked-element/element_0", @@ -5804,17 +5793,17 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/marketData/headerExamples/example/default-example_1/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#displayName", - "http://a.ml/vocabularies/document-source-maps#value": "[(170,10)-(171,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(168,10)-(169,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/marketData/headerExamples/example/default-example_1/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": "[(171,10)-(172,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(169,10)-(170,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/marketData/headerExamples/example/default-example_1/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/msg/marketData/headerExamples/example/default-example_1", - "http://a.ml/vocabularies/document-source-maps#value": "[(175,18)-(177,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(173,18)-(175,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/marketData/headerExamples/example/default-example_1/source-map/tracked-element/element_0", @@ -5848,22 +5837,22 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/parameter/path/environment/scalar/environment/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#defaultValue", - "http://a.ml/vocabularies/document-source-maps#value": "[(185,6)-(186,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(183,6)-(184,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/parameter/path/environment/scalar/environment/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#description", - "http://a.ml/vocabularies/document-source-maps#value": "[(186,6)-(187,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(184,6)-(185,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/parameter/path/environment/scalar/environment/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#defaultValueStr", - "http://a.ml/vocabularies/document-source-maps#value": "[(185,6)-(186,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(183,6)-(184,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/parameter/path/environment/scalar/environment/source-map/lexical/element_2", "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/scalar/environment", - "http://a.ml/vocabularies/document-source-maps#value": "[(185,0)-(187,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(183,0)-(185,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/parameter/path/version/scalar/version/scalar_1/source-map", @@ -5892,40 +5881,40 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/parameter/path/version/scalar/version/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#defaultValue", - "http://a.ml/vocabularies/document-source-maps#value": "[(188,6)-(189,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(186,6)-(187,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/parameter/path/version/scalar/version/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#description", - "http://a.ml/vocabularies/document-source-maps#value": "[(189,6)-(190,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(187,6)-(188,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/parameter/path/version/scalar/version/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#defaultValueStr", - "http://a.ml/vocabularies/document-source-maps#value": "[(188,6)-(189,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(186,6)-(187,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/parameter/path/version/scalar/version/source-map/lexical/element_2", "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": "[(188,0)-(190,0)]" + "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": "[(182,10)-(182,14)]" + "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", - "http://a.ml/vocabularies/document-source-maps#value": "[(181,8)-(183,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(179,8)-(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/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": "[(182,10)-(183,0)]" + "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/msg/messageAvro/message-bindings/bindings/googlepubsub-message/object_1/exampleAttribute", + "@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": [ "http://a.ml/vocabularies/data#Scalar", "http://a.ml/vocabularies/data#Node", @@ -5940,90 +5929,95 @@ "http://a.ml/vocabularies/core#name": "exampleAttribute", "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/object_1/exampleAttribute/source-map" + "@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/source-map" } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/object_1/source-map", + "@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/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/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/object_1/source-map/synthesized-field/element_0" + "@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/source-map/synthesized-field/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/message-bindings/bindings/googlepubsub-message/object_1/source-map/lexical/element_1" + "@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/source-map/lexical/element_1" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/object_1/source-map/lexical/element_0" + "@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/source-map/lexical/element_0" } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/googlepubsub-schemaDefinition/source-map", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message-010/googlepubsub-schemaDefinition-010/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/googlepubsub-schemaDefinition/source-map/lexical/element_2" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message-010/googlepubsub-schemaDefinition-010/source-map/lexical/element_2" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/googlepubsub-schemaDefinition/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message-010/googlepubsub-schemaDefinition-010/source-map/lexical/element_0" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/googlepubsub-schemaDefinition/source-map/lexical/element_1" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message-010/googlepubsub-schemaDefinition-010/source-map/lexical/element_1" } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/source-map/lexical/element_5", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message-010/source-map/lexical/element_5", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#bindingVersion", - "http://a.ml/vocabularies/document-source-maps#value": "[(156,10)-(157,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(154,10)-(155,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/source-map/lexical/element_3", - "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/message-bindings/bindings/googlepubsub-message", - "http://a.ml/vocabularies/document-source-maps#value": "[(152,8)-(160,0)]" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message-010/source-map/lexical/element_3", + "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/message-bindings/bindings/googlepubsub-message-010", + "http://a.ml/vocabularies/document-source-maps#value": "[(150,8)-(158,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message-010/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#schemaDefinition", - "http://a.ml/vocabularies/document-source-maps#value": "[(157,10)-(160,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(155,10)-(158,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message-010/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#type", - "http://a.ml/vocabularies/document-source-maps#value": "[(152,8)-(152,20)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(150,8)-(150,20)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message-010/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#attribute", - "http://a.ml/vocabularies/document-source-maps#value": "[(153,10)-(155,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(151,10)-(153,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/source-map/lexical/element_4", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message-010/source-map/lexical/element_4", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#orderingKey", - "http://a.ml/vocabularies/document-source-maps#value": "[(155,10)-(156,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(153,10)-(154,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/marketData/payload/default/shape/schema/source-map/synthesized-field/element_1", - "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-target", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-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", "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/payload/default/shape/schema/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#element": "http://a.ml/vocabularies/document#recursive", + "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/payload/default/shape/schema/source-map/synthesized-field/element_1", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-target", "http://a.ml/vocabularies/document-source-maps#value": "true" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/marketData/payload/default/shape/schema/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#/declares/msg/marketData/payload/default/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(166,6)-(168,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(164,6)-(166,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/marketData/examples/example/default-example_2/object_1/userId/source-map", @@ -6071,17 +6065,17 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/marketData/examples/example/default-example_2/object_1/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/data#userId", - "http://a.ml/vocabularies/document-source-maps#value": "[(173,12)-(174,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(171,12)-(172,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/marketData/examples/example/default-example_2/object_1/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/data#status", - "http://a.ml/vocabularies/document-source-maps#value": "[(174,12)-(175,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(172,12)-(173,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/marketData/examples/example/default-example_2/object_1/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/msg/marketData/examples/example/default-example_2/object_1", - "http://a.ml/vocabularies/document-source-maps#value": "[(173,0)-(175,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(171,0)-(173,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/marketData/headerExamples/example/default-example_1/object_1/exampleHeader/source-map", @@ -6110,12 +6104,12 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/marketData/headerExamples/example/default-example_1/object_1/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/msg/marketData/headerExamples/example/default-example_1/object_1", - "http://a.ml/vocabularies/document-source-maps#value": "[(176,0)-(177,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(174,0)-(175,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/marketData/headerExamples/example/default-example_1/object_1/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/data#exampleHeader", - "http://a.ml/vocabularies/document-source-maps#value": "[(176,12)-(177,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(174,12)-(175,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/parameter/path/environment/scalar/environment/scalar_1/source-map/synthesized-field/element_1", @@ -6130,7 +6124,7 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/parameter/path/environment/scalar/environment/scalar_1/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#/declares/parameter/path/environment/scalar/environment/scalar_1", - "http://a.ml/vocabularies/document-source-maps#value": "[(185,15)-(185,22)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(183,15)-(183,22)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/parameter/path/version/scalar/version/scalar_1/source-map/synthesized-field/element_1", @@ -6145,56 +6139,56 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/parameter/path/version/scalar/version/scalar_1/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#/declares/parameter/path/version/scalar/version/scalar_1", - "http://a.ml/vocabularies/document-source-maps#value": "[(188,15)-(188,17)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(186,15)-(186,17)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/object_1/exampleAttribute/source-map", + "@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/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/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/object_1/exampleAttribute/source-map/synthesized-field/element_1" + "@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/source-map/synthesized-field/element_1" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/object_1/exampleAttribute/source-map/synthesized-field/element_0" + "@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/source-map/synthesized-field/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/message-bindings/bindings/googlepubsub-message/object_1/exampleAttribute/source-map/lexical/element_0" + "@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/source-map/lexical/element_0" } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/object_1/source-map/synthesized-field/element_0", + "@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/source-map/synthesized-field/element_0", "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/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/object_1/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/msg/messageAvro/message-bindings/bindings/googlepubsub-message/object_1", - "http://a.ml/vocabularies/document-source-maps#value": "[(154,0)-(155,0)]" + "@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/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/msg/messageAvro/message-bindings/bindings/googlepubsub-message-010/object_1", + "http://a.ml/vocabularies/document-source-maps#value": "[(152,0)-(153,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/object_1/source-map/lexical/element_0", + "@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/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/data#exampleAttribute", - "http://a.ml/vocabularies/document-source-maps#value": "[(154,12)-(155,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(152,12)-(153,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/googlepubsub-schemaDefinition/source-map/lexical/element_2", - "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#name", - "http://a.ml/vocabularies/document-source-maps#value": "[(158,12)-(159,0)]" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message-010/googlepubsub-schemaDefinition-010/source-map/lexical/element_2", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#type", + "http://a.ml/vocabularies/document-source-maps#value": "[(157,12)-(158,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/googlepubsub-schemaDefinition/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#type", - "http://a.ml/vocabularies/document-source-maps#value": "[(159,12)-(160,0)]" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message-010/googlepubsub-schemaDefinition-010/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": "[(156,12)-(157,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/googlepubsub-schemaDefinition/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/msg/messageAvro/message-bindings/bindings/googlepubsub-message/googlepubsub-schemaDefinition", - "http://a.ml/vocabularies/document-source-maps#value": "[(157,17)-(160,0)]" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message-010/googlepubsub-schemaDefinition-010/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/msg/messageAvro/message-bindings/bindings/googlepubsub-message-010/googlepubsub-schemaDefinition-010", + "http://a.ml/vocabularies/document-source-maps#value": "[(155,17)-(158,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/marketData/examples/example/default-example_2/object_1/userId/source-map/synthesized-field/element_1", @@ -6209,7 +6203,7 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/marketData/examples/example/default-example_2/object_1/userId/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#/declares/msg/marketData/examples/example/default-example_2/object_1/userId", - "http://a.ml/vocabularies/document-source-maps#value": "[(173,20)-(173,27)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(171,20)-(171,27)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/marketData/examples/example/default-example_2/object_1/status/source-map/synthesized-field/element_1", @@ -6224,7 +6218,7 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/marketData/examples/example/default-example_2/object_1/status/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#/declares/msg/marketData/examples/example/default-example_2/object_1/status", - "http://a.ml/vocabularies/document-source-maps#value": "[(174,20)-(174,26)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(172,20)-(172,26)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/marketData/headerExamples/example/default-example_1/object_1/exampleHeader/source-map/synthesized-field/element_1", @@ -6239,22 +6233,22 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/marketData/headerExamples/example/default-example_1/object_1/exampleHeader/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#/declares/msg/marketData/headerExamples/example/default-example_1/object_1/exampleHeader", - "http://a.ml/vocabularies/document-source-maps#value": "[(176,27)-(176,38)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(174,27)-(174,38)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/object_1/exampleAttribute/source-map/synthesized-field/element_1", + "@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/source-map/synthesized-field/element_1", "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/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/object_1/exampleAttribute/source-map/synthesized-field/element_0", + "@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/source-map/synthesized-field/element_0", "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/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/object_1/exampleAttribute/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#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/object_1/exampleAttribute", - "http://a.ml/vocabularies/document-source-maps#value": "[(154,30)-(154,42)]" + "@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/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#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message-010/object_1/exampleAttribute", + "http://a.ml/vocabularies/document-source-maps#value": "[(152,30)-(152,42)]" } ] } diff --git a/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml b/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml index 73ae3e4215..ed7dae8f8a 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml +++ b/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml @@ -112,15 +112,13 @@ channels: publish: bindings: solace: - bindingVersion: 0.3.0 + bindingVersion: 0.2.0 destinations: - destinationType: queue queue: name: CreatedHREvents accessType: exclusive - maxMsgSpoolSize: test - maxTtl: test topicSubscriptions: - person/*/created - 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 8812b9abb5..9da61b489a 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 @@ -760,7 +760,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(223,12)-(224,0)]" + "@value": "[(221,12)-(222,0)]" } ] } @@ -800,7 +800,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(224,12)-(225,0)]" + "@value": "[(222,12)-(223,0)]" } ] } @@ -825,7 +825,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(221,10)-(222,0)]" + "@value": "[(219,10)-(220,0)]" } ] }, @@ -838,7 +838,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(219,8)-(225,0)]" + "@value": "[(217,8)-(223,0)]" } ] }, @@ -851,7 +851,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(222,10)-(225,0)]" + "@value": "[(220,10)-(223,0)]" } ] }, @@ -864,7 +864,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(219,8)-(219,16)]" + "@value": "[(217,8)-(217,16)]" } ] }, @@ -877,7 +877,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(220,10)-(221,0)]" + "@value": "[(218,10)-(219,0)]" } ] } @@ -902,7 +902,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(216,0)-(225,0)]" + "@value": "[(214,0)-(223,0)]" } ] }, @@ -915,7 +915,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(218,12)-(225,0)]" + "@value": "[(216,12)-(223,0)]" } ] } @@ -955,7 +955,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(217,6)-(218,0)]" + "@value": "[(215,6)-(216,0)]" } ] }, @@ -968,7 +968,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(215,4)-(225,0)]" + "@value": "[(213,4)-(223,0)]" } ] }, @@ -981,7 +981,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(216,0)-(225,0)]" + "@value": "[(214,0)-(223,0)]" } ] }, @@ -994,7 +994,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(216,6)-(217,0)]" + "@value": "[(214,6)-(215,0)]" } ] }, @@ -1007,7 +1007,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(215,4)-(215,10)]" + "@value": "[(213,4)-(213,10)]" } ] } @@ -3090,7 +3090,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(223,12)-(224,0)]" + "@value": "[(221,12)-(222,0)]" } ] } @@ -3130,7 +3130,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(224,12)-(225,0)]" + "@value": "[(222,12)-(223,0)]" } ] } @@ -3155,7 +3155,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(221,10)-(222,0)]" + "@value": "[(219,10)-(220,0)]" } ] }, @@ -3168,7 +3168,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(219,8)-(225,0)]" + "@value": "[(217,8)-(223,0)]" } ] }, @@ -3181,7 +3181,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(222,10)-(225,0)]" + "@value": "[(220,10)-(223,0)]" } ] }, @@ -3194,7 +3194,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(219,8)-(219,16)]" + "@value": "[(217,8)-(217,16)]" } ] }, @@ -3207,7 +3207,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(220,10)-(221,0)]" + "@value": "[(218,10)-(219,0)]" } ] } @@ -3232,7 +3232,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(216,0)-(225,0)]" + "@value": "[(214,0)-(223,0)]" } ] }, @@ -3245,7 +3245,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(218,12)-(225,0)]" + "@value": "[(216,12)-(223,0)]" } ] } @@ -3285,7 +3285,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(217,6)-(218,0)]" + "@value": "[(215,6)-(216,0)]" } ] }, @@ -3298,7 +3298,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(215,4)-(225,0)]" + "@value": "[(213,4)-(223,0)]" } ] }, @@ -3311,7 +3311,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(216,0)-(225,0)]" + "@value": "[(214,0)-(223,0)]" } ] }, @@ -3324,7 +3324,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(216,6)-(217,0)]" + "@value": "[(214,6)-(215,0)]" } ] }, @@ -3337,7 +3337,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(215,4)-(215,10)]" + "@value": "[(213,4)-(213,10)]" } ] } @@ -5446,16 +5446,17 @@ ], "http://a.ml/vocabularies/apiBinding#bindings": [ { - "@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", + "@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", "@type": [ - "http://a.ml/vocabularies/apiBinding#SolaceOperationBinding", + "http://a.ml/vocabularies/apiBinding#SolaceOperationBinding020", "http://a.ml/vocabularies/apiBinding#OperationBinding", "http://a.ml/vocabularies/document#DomainElement" ], "http://a.ml/vocabularies/apiBinding#destinations": [ { - "@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/destinations/solace-destination", + "@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", "@type": [ + "http://a.ml/vocabularies/apiBinding#SolaceOperationDestination020", "http://a.ml/vocabularies/apiBinding#SolaceOperationDestination", "http://a.ml/vocabularies/document#DomainElement" ], @@ -5471,8 +5472,9 @@ ], "http://a.ml/vocabularies/apiBinding#queue": [ { - "@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/destinations/solace-destination/solace-queue", + "@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", "@type": [ + "http://a.ml/vocabularies/apiBinding#SolaceOperationQueue010", "http://a.ml/vocabularies/apiBinding#SolaceOperationQueue", "http://a.ml/vocabularies/document#DomainElement" ], @@ -5486,64 +5488,28 @@ "@value": "exclusive" } ], - "http://a.ml/vocabularies/apiBinding#maxMsgSpoolSize": [ - { - "@value": "test" - } - ], - "http://a.ml/vocabularies/apiBinding#maxTtl": [ - { - "@value": "test" - } - ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@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/destinations/solace-destination/solace-queue/source-map", + "@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", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/forth-channel/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination/solace-queue/source-map/lexical/element_4", + "@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": [ { - "@value": "http://a.ml/vocabularies/apiBinding#maxMsgSpoolSize" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(129,16)-(130,0)]" - } - ] - }, - { - "@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/destinations/solace-destination/solace-queue/source-map/lexical/element_2", - "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/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination/solace-queue" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(126,20)-(133,0)]" - } - ] - }, - { - "@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/destinations/solace-destination/solace-queue/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "http://a.ml/vocabularies/apiBinding#maxTtl" + "@value": "http://a.ml/vocabularies/apiBinding#topicSubscriptions" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(130,16)-(131,0)]" + "@value": "[(129,16)-(131,0)]" } ] }, { - "@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/destinations/solace-destination/solace-queue/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/supportedOperation/publish/operation-bindings/bindings/solace-operation-020/destinations/solace-operation-destination-020/solace-operation-queue-010/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#accessType" @@ -5556,15 +5522,15 @@ ] }, { - "@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/destinations/solace-destination/solace-queue/source-map/lexical/element_3", + "@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_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiBinding#topicSubscriptions" + "@value": "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" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(131,16)-(133,0)]" + "@value": "[(126,20)-(131,0)]" } ] } @@ -5575,13 +5541,13 @@ ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@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/destinations/solace-destination/source-map", + "@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/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/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/forth-channel/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination/source-map/synthesized-field/element_0", + "@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/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#deliveryMode" @@ -5596,7 +5562,7 @@ ], "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/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination/source-map/lexical/element_2", + "@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/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#destinationType" @@ -5609,7 +5575,7 @@ ] }, { - "@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/destinations/solace-destination/source-map/lexical/element_0", + "@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/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#queue" @@ -5617,20 +5583,20 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(126,14)-(133,0)]" + "@value": "[(126,14)-(131,0)]" } ] }, { - "@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/destinations/solace-destination/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/supportedOperation/publish/operation-bindings/bindings/solace-operation-020/destinations/solace-operation-destination-020/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/forth-channel/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination" + "@value": "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" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(125,0)-(133,0)]" + "@value": "[(125,0)-(131,0)]" } ] } @@ -5639,8 +5605,9 @@ ] }, { - "@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/destinations/solace-destination_2", + "@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_2", "@type": [ + "http://a.ml/vocabularies/apiBinding#SolaceOperationDestination020", "http://a.ml/vocabularies/apiBinding#SolaceOperationDestination", "http://a.ml/vocabularies/document#DomainElement" ], @@ -5656,7 +5623,7 @@ ], "http://a.ml/vocabularies/apiBinding#topic": [ { - "@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/destinations/solace-destination_2/solace-topic", + "@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_2/solace-topic", "@type": [ "http://a.ml/vocabularies/apiBinding#SolaceOperationTopic", "http://a.ml/vocabularies/document#DomainElement" @@ -5668,26 +5635,26 @@ ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@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/destinations/solace-destination_2/solace-topic/source-map", + "@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_2/solace-topic/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/forth-channel/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination_2/solace-topic/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/supportedOperation/publish/operation-bindings/bindings/solace-operation-020/destinations/solace-operation-destination-020_2/solace-topic/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/forth-channel/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination_2/solace-topic" + "@value": "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_2/solace-topic" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(135,20)-(138,0)]" + "@value": "[(133,20)-(136,0)]" } ] }, { - "@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/destinations/solace-destination_2/solace-topic/source-map/lexical/element_0", + "@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_2/solace-topic/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#topicSubscriptions" @@ -5695,7 +5662,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(136,16)-(138,0)]" + "@value": "[(134,16)-(136,0)]" } ] } @@ -5706,13 +5673,13 @@ ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@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/destinations/solace-destination_2/source-map", + "@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_2/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/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/forth-channel/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination_2/source-map/synthesized-field/element_0", + "@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_2/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#deliveryMode" @@ -5727,7 +5694,7 @@ ], "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/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination_2/source-map/lexical/element_2", + "@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_2/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#destinationType" @@ -5735,12 +5702,12 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(134,14)-(135,0)]" + "@value": "[(132,14)-(133,0)]" } ] }, { - "@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/destinations/solace-destination_2/source-map/lexical/element_0", + "@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_2/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#topic" @@ -5748,20 +5715,20 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(135,14)-(138,0)]" + "@value": "[(133,14)-(136,0)]" } ] }, { - "@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/destinations/solace-destination_2/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/supportedOperation/publish/operation-bindings/bindings/solace-operation-020/destinations/solace-operation-destination-020_2/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/forth-channel/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination_2" + "@value": "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_2" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(134,0)-(138,0)]" + "@value": "[(132,0)-(136,0)]" } ] } @@ -5772,7 +5739,7 @@ ], "http://a.ml/vocabularies/apiBinding#bindingVersion": [ { - "@value": "0.3.0" + "@value": "0.2.0" } ], "http://a.ml/vocabularies/apiBinding#type": [ @@ -5782,13 +5749,13 @@ ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@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/source-map", + "@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/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/forth-channel/supportedOperation/publish/operation-bindings/bindings/solace-operation/source-map/lexical/element_3", + "@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/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#bindingVersion" @@ -5801,7 +5768,7 @@ ] }, { - "@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/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/supportedOperation/publish/operation-bindings/bindings/solace-operation-020/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#destinations" @@ -5809,12 +5776,12 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(123,10)-(138,0)]" + "@value": "[(123,10)-(136,0)]" } ] }, { - "@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/source-map/lexical/element_0", + "@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/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#type" @@ -5827,15 +5794,15 @@ ] }, { - "@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/source-map/lexical/element_2", + "@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/source-map/lexical/element_2", "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/supportedOperation/publish/operation-bindings/bindings/solace-operation" + "@value": "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" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(121,8)-(138,0)]" + "@value": "[(121,8)-(136,0)]" } ] } @@ -5860,7 +5827,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(121,0)-(138,0)]" + "@value": "[(121,0)-(136,0)]" } ] }, @@ -5873,7 +5840,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(121,0)-(138,0)]" + "@value": "[(121,0)-(136,0)]" } ] } @@ -5898,7 +5865,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(119,4)-(138,0)]" + "@value": "[(119,4)-(136,0)]" } ] }, @@ -5911,7 +5878,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(120,6)-(138,0)]" + "@value": "[(120,6)-(136,0)]" } ] } @@ -5936,7 +5903,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(118,2)-(138,0)]" + "@value": "[(118,2)-(136,0)]" } ] }, @@ -5949,7 +5916,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(119,0)-(138,0)]" + "@value": "[(119,0)-(136,0)]" } ] } @@ -5977,15 +5944,20 @@ ], "http://a.ml/vocabularies/apiBinding#bindings": [ { - "@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-operation", + "@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", "@type": [ - "http://a.ml/vocabularies/apiBinding#GooglePubSubChannelBinding", + "http://a.ml/vocabularies/apiBinding#GooglePubSubChannelBinding010", "http://a.ml/vocabularies/apiBinding#ChannelBinding", "http://a.ml/vocabularies/document#DomainElement" ], + "http://a.ml/vocabularies/apiBinding#topic": [ + { + "@value": "projects/your-project/topics/topic-proto-schema" + } + ], "http://a.ml/vocabularies/apiBinding#labels": [ { - "@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-operation/object_1", + "@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/object_1", "@type": [ "http://a.ml/vocabularies/data#Object", "http://a.ml/vocabularies/data#Node", @@ -5993,7 +5965,7 @@ ], "http://a.ml/vocabularies/data#label1": [ { - "@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-operation/object_1/label1", + "@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/object_1/label1", "@type": [ "http://a.ml/vocabularies/data#Scalar", "http://a.ml/vocabularies/data#Node", @@ -6016,13 +5988,13 @@ ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@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-operation/object_1/label1/source-map", + "@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/object_1/label1/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/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/topic-proto-schema/channel-bindings/bindings/googlepubsub-operation/object_1/label1/source-map/synthesized-field/element_1", + "@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/object_1/label1/source-map/synthesized-field/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://www.w3.org/ns/shacl#datatype" @@ -6035,7 +6007,7 @@ ] }, { - "@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-operation/object_1/label1/source-map/synthesized-field/element_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/object_1/label1/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/core#name" @@ -6050,15 +6022,15 @@ ], "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/topic-proto-schema/channel-bindings/bindings/googlepubsub-operation/object_1/label1/source-map/lexical/element_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/object_1/label1/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/topic-proto-schema/channel-bindings/bindings/googlepubsub-operation/object_1/label1" + "@value": "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/object_1/label1" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(142,18)-(142,24)]" + "@value": "[(140,18)-(140,24)]" } ] } @@ -6069,7 +6041,7 @@ ], "http://a.ml/vocabularies/data#label2": [ { - "@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-operation/object_1/label2", + "@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/object_1/label2", "@type": [ "http://a.ml/vocabularies/data#Scalar", "http://a.ml/vocabularies/data#Node", @@ -6092,13 +6064,13 @@ ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@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-operation/object_1/label2/source-map", + "@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/object_1/label2/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/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/topic-proto-schema/channel-bindings/bindings/googlepubsub-operation/object_1/label2/source-map/synthesized-field/element_1", + "@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/object_1/label2/source-map/synthesized-field/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://www.w3.org/ns/shacl#datatype" @@ -6111,7 +6083,7 @@ ] }, { - "@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-operation/object_1/label2/source-map/synthesized-field/element_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/object_1/label2/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/core#name" @@ -6126,15 +6098,15 @@ ], "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/topic-proto-schema/channel-bindings/bindings/googlepubsub-operation/object_1/label2/source-map/lexical/element_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/object_1/label2/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/topic-proto-schema/channel-bindings/bindings/googlepubsub-operation/object_1/label2" + "@value": "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/object_1/label2" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(143,18)-(143,24)]" + "@value": "[(141,18)-(141,24)]" } ] } @@ -6150,13 +6122,13 @@ ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@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-operation/object_1/source-map", + "@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/object_1/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/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/topic-proto-schema/channel-bindings/bindings/googlepubsub-operation/object_1/source-map/synthesized-field/element_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/object_1/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/core#name" @@ -6171,7 +6143,7 @@ ], "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/topic-proto-schema/channel-bindings/bindings/googlepubsub-operation/object_1/source-map/lexical/element_2", + "@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/object_1/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/data#label1" @@ -6179,12 +6151,12 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(142,10)-(143,0)]" + "@value": "[(140,10)-(141,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-operation/object_1/source-map/lexical/element_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/object_1/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/data#label2" @@ -6192,20 +6164,20 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(143,10)-(144,0)]" + "@value": "[(141,10)-(142,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-operation/object_1/source-map/lexical/element_1", + "@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/object_1/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/topic-proto-schema/channel-bindings/bindings/googlepubsub-operation/object_1" + "@value": "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/object_1" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(142,0)-(144,0)]" + "@value": "[(140,0)-(142,0)]" } ] } @@ -6221,7 +6193,7 @@ ], "http://a.ml/vocabularies/apiBinding#messageStoragePolicy": [ { - "@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-operation/googlepubsub-messageStoragePolicy", + "@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/googlepubsub-messageStoragePolicy", "@type": [ "http://a.ml/vocabularies/apiBinding#GooglePubSubMessageStoragePolicy", "http://a.ml/vocabularies/document#DomainElement" @@ -6236,26 +6208,26 @@ ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@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-operation/googlepubsub-messageStoragePolicy/source-map", + "@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/googlepubsub-messageStoragePolicy/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/topic-proto-schema/channel-bindings/bindings/googlepubsub-operation/googlepubsub-messageStoragePolicy/source-map/lexical/element_1", + "@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/googlepubsub-messageStoragePolicy/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/topic-proto-schema/channel-bindings/bindings/googlepubsub-operation/googlepubsub-messageStoragePolicy" + "@value": "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/googlepubsub-messageStoragePolicy" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(146,29)-(150,0)]" + "@value": "[(144,29)-(148,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-operation/googlepubsub-messageStoragePolicy/source-map/lexical/element_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/googlepubsub-messageStoragePolicy/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#allowedPersistenceRegions" @@ -6263,7 +6235,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(147,10)-(150,0)]" + "@value": "[(145,10)-(148,0)]" } ] } @@ -6274,11 +6246,16 @@ ], "http://a.ml/vocabularies/apiBinding#schemaSettings": [ { - "@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-operation/googlepubsub-schemaSettings", + "@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/googlepubsub-schemaSettings", "@type": [ "http://a.ml/vocabularies/apiBinding#GooglePubSubSchemaSettings", "http://a.ml/vocabularies/document#DomainElement" ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "projects/your-project/schemas/messageAvro" + } + ], "http://a.ml/vocabularies/apiBinding#encoding": [ { "@value": "binary" @@ -6294,49 +6271,44 @@ "@value": "2.0.0" } ], - "http://a.ml/vocabularies/apiBinding#name": [ - { - "@value": "projects/your-project/schemas/messageAvro" - } - ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@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-operation/googlepubsub-schemaSettings/source-map", + "@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/googlepubsub-schemaSettings/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/topic-proto-schema/channel-bindings/bindings/googlepubsub-operation/googlepubsub-schemaSettings/source-map/lexical/element_4", + "@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/googlepubsub-schemaSettings/source-map/lexical/element_4", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiBinding#lastRevisionId" + "@value": "http://a.ml/vocabularies/apiBinding#firstRevisionId" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(154,10)-(155,0)]" + "@value": "[(151,10)-(152,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-operation/googlepubsub-schemaSettings/source-map/lexical/element_2", + "@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/googlepubsub-schemaSettings/source-map/lexical/element_2", "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/topic-proto-schema/channel-bindings/bindings/googlepubsub-operation/googlepubsub-schemaSettings" + "@value": "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/googlepubsub-schemaSettings" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(150,23)-(155,0)]" + "@value": "[(148,23)-(153,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-operation/googlepubsub-schemaSettings/source-map/lexical/element_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/googlepubsub-schemaSettings/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiBinding#name" + "@value": "http://a.ml/vocabularies/apiBinding#lastRevisionId" } ], "http://a.ml/vocabularies/document-source-maps#value": [ @@ -6346,28 +6318,28 @@ ] }, { - "@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-operation/googlepubsub-schemaSettings/source-map/lexical/element_1", + "@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/googlepubsub-schemaSettings/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiBinding#firstRevisionId" + "@value": "http://a.ml/vocabularies/apiBinding#encoding" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(153,10)-(154,0)]" + "@value": "[(149,10)-(150,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-operation/googlepubsub-schemaSettings/source-map/lexical/element_3", + "@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/googlepubsub-schemaSettings/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiBinding#encoding" + "@value": "http://a.ml/vocabularies/core#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(151,10)-(152,0)]" + "@value": "[(150,10)-(151,0)]" } ] } @@ -6376,11 +6348,6 @@ ] } ], - "http://a.ml/vocabularies/apiBinding#topic": [ - { - "@value": "projects/your-project/topics/topic-proto-schema" - } - ], "http://a.ml/vocabularies/apiBinding#bindingVersion": [ { "@value": "latest" @@ -6393,13 +6360,13 @@ ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@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-operation/source-map", + "@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/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/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/topic-proto-schema/channel-bindings/bindings/googlepubsub-operation/source-map/synthesized-field/element_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/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#bindingVersion" @@ -6414,46 +6381,46 @@ ], "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/topic-proto-schema/channel-bindings/bindings/googlepubsub-operation/source-map/lexical/element_6", + "@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/source-map/lexical/element_6", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiBinding#topic" + "@value": "http://a.ml/vocabularies/apiBinding#schemaSettings" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(144,8)-(145,0)]" + "@value": "[(148,8)-(153,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-operation/source-map/lexical/element_4", + "@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/source-map/lexical/element_4", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiBinding#labels" + "@value": "http://a.ml/vocabularies/apiBinding#topic" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(141,8)-(144,0)]" + "@value": "[(142,8)-(143,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-operation/source-map/lexical/element_2", + "@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/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiBinding#messageRetentionDuration" + "@value": "http://a.ml/vocabularies/apiBinding#labels" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(145,8)-(146,0)]" + "@value": "[(139,8)-(142,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-operation/source-map/lexical/element_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/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#type" @@ -6461,46 +6428,46 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(140,6)-(140,18)]" + "@value": "[(138,6)-(138,18)]" } ] }, { - "@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-operation/source-map/lexical/element_1", + "@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/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiBinding#schemaSettings" + "@value": "http://a.ml/vocabularies/apiBinding#messageStoragePolicy" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(150,8)-(155,0)]" + "@value": "[(144,8)-(148,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-operation/source-map/lexical/element_3", + "@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/source-map/lexical/element_3", "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/topic-proto-schema/channel-bindings/bindings/googlepubsub-operation" + "@value": "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" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(140,6)-(155,0)]" + "@value": "[(138,6)-(153,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-operation/source-map/lexical/element_5", + "@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/source-map/lexical/element_5", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiBinding#messageStoragePolicy" + "@value": "http://a.ml/vocabularies/apiBinding#messageRetentionDuration" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(146,8)-(150,0)]" + "@value": "[(143,8)-(144,0)]" } ] } @@ -6525,7 +6492,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(140,0)-(155,0)]" + "@value": "[(138,0)-(153,0)]" } ] }, @@ -6538,7 +6505,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(140,0)-(155,0)]" + "@value": "[(138,0)-(153,0)]" } ] } @@ -6563,7 +6530,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(138,2)-(155,0)]" + "@value": "[(136,2)-(153,0)]" } ] }, @@ -6576,7 +6543,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(139,4)-(155,0)]" + "@value": "[(137,4)-(153,0)]" } ] } @@ -6609,7 +6576,7 @@ ], "http://a.ml/vocabularies/apiBinding#bindings": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-operation", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-channel", "@type": [ "http://a.ml/vocabularies/apiBinding#PulsarChannelBinding", "http://a.ml/vocabularies/apiBinding#ChannelBinding", @@ -6643,7 +6610,7 @@ ], "http://a.ml/vocabularies/apiBinding#retention": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-operation/pulsar-retention", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-channel/pulsar-retention", "@type": [ "http://a.ml/vocabularies/apiBinding#PulsarChannelRetention", "http://a.ml/vocabularies/document#DomainElement" @@ -6660,13 +6627,13 @@ ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-operation/pulsar-retention/source-map", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-channel/pulsar-retention/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-operation/pulsar-retention/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-channel/pulsar-retention/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#time" @@ -6674,12 +6641,12 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(166,10)-(167,0)]" + "@value": "[(164,10)-(165,0)]" } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-operation/pulsar-retention/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-channel/pulsar-retention/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#size" @@ -6687,20 +6654,20 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(167,10)-(168,0)]" + "@value": "[(165,10)-(166,0)]" } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-operation/pulsar-retention/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-channel/pulsar-retention/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/sixth-channel/channel-bindings/bindings/pulsar-operation/pulsar-retention" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-channel/pulsar-retention" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(165,18)-(168,0)]" + "@value": "[(163,18)-(166,0)]" } ] } @@ -6731,13 +6698,13 @@ ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-operation/source-map", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-channel/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-operation/source-map/lexical/element_9", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-channel/source-map/lexical/element_9", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#bindingVersion" @@ -6745,12 +6712,12 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(170,8)-(171,0)]" + "@value": "[(168,8)-(169,0)]" } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-operation/source-map/lexical/element_7", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-channel/source-map/lexical/element_7", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#geo-replication" @@ -6758,25 +6725,25 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(161,8)-(165,0)]" + "@value": "[(159,8)-(163,0)]" } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-operation/source-map/lexical/element_5", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-channel/source-map/lexical/element_5", "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/sixth-channel/channel-bindings/bindings/pulsar-operation" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-channel" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(157,6)-(171,0)]" + "@value": "[(155,6)-(169,0)]" } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-operation/source-map/lexical/element_3", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-channel/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#compaction" @@ -6784,12 +6751,12 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(160,8)-(161,0)]" + "@value": "[(158,8)-(159,0)]" } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-operation/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-channel/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#deduplication" @@ -6797,12 +6764,12 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(169,8)-(170,0)]" + "@value": "[(167,8)-(168,0)]" } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-operation/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-channel/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#type" @@ -6810,12 +6777,12 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(157,6)-(157,12)]" + "@value": "[(155,6)-(155,12)]" } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-operation/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-channel/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#retention" @@ -6823,12 +6790,12 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(165,8)-(168,0)]" + "@value": "[(163,8)-(166,0)]" } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-operation/source-map/lexical/element_4", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-channel/source-map/lexical/element_4", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#namespace" @@ -6836,12 +6803,12 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(158,8)-(159,0)]" + "@value": "[(156,8)-(157,0)]" } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-operation/source-map/lexical/element_6", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-channel/source-map/lexical/element_6", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#persistence" @@ -6849,12 +6816,12 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(159,8)-(160,0)]" + "@value": "[(157,8)-(158,0)]" } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-operation/source-map/lexical/element_8", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-channel/source-map/lexical/element_8", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#ttl" @@ -6862,7 +6829,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(168,8)-(169,0)]" + "@value": "[(166,8)-(167,0)]" } ] } @@ -6887,7 +6854,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(157,0)-(171,0)]" + "@value": "[(155,0)-(169,0)]" } ] }, @@ -6900,7 +6867,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(157,0)-(171,0)]" + "@value": "[(155,0)-(169,0)]" } ] } @@ -6925,7 +6892,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(171,4)-(172,0)]" + "@value": "[(169,4)-(170,0)]" } ] }, @@ -6938,7 +6905,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(156,4)-(171,0)]" + "@value": "[(154,4)-(169,0)]" } ] }, @@ -6951,7 +6918,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(155,2)-(172,0)]" + "@value": "[(153,2)-(170,0)]" } ] } @@ -6989,7 +6956,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(1,0)-(225,0)]" + "@value": "[(1,0)-(223,0)]" } ] }, @@ -7015,7 +6982,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(45,0)-(172,0)]" + "@value": "[(45,0)-(170,0)]" } ] }, @@ -7138,7 +7105,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(206,10)-(206,14)]" + "@value": "[(204,10)-(204,14)]" } ] } @@ -7153,7 +7120,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(205,8)-(207,0)]" + "@value": "[(203,8)-(205,0)]" } ] }, @@ -7166,7 +7133,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(206,10)-(207,0)]" + "@value": "[(204,10)-(205,0)]" } ] } @@ -7216,7 +7183,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(205,8)-(207,0)]" + "@value": "[(203,8)-(205,0)]" } ] } @@ -7261,7 +7228,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(203,6)-(203,10)]" + "@value": "[(201,6)-(201,10)]" } ] } @@ -7276,7 +7243,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(204,6)-(207,0)]" + "@value": "[(202,6)-(205,0)]" } ] }, @@ -7289,7 +7256,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(202,4)-(202,10)]" + "@value": "[(200,4)-(200,10)]" } ] }, @@ -7302,7 +7269,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(202,4)-(207,0)]" + "@value": "[(200,4)-(205,0)]" } ] } @@ -7409,7 +7376,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(223,12)-(224,0)]" + "@value": "[(221,12)-(222,0)]" } ] } @@ -7449,7 +7416,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(224,12)-(225,0)]" + "@value": "[(222,12)-(223,0)]" } ] } @@ -7474,7 +7441,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(221,10)-(222,0)]" + "@value": "[(219,10)-(220,0)]" } ] }, @@ -7487,7 +7454,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(219,8)-(225,0)]" + "@value": "[(217,8)-(223,0)]" } ] }, @@ -7500,7 +7467,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(222,10)-(225,0)]" + "@value": "[(220,10)-(223,0)]" } ] }, @@ -7513,7 +7480,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(219,8)-(219,16)]" + "@value": "[(217,8)-(217,16)]" } ] }, @@ -7526,7 +7493,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(220,10)-(221,0)]" + "@value": "[(218,10)-(219,0)]" } ] } @@ -7551,7 +7518,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(216,0)-(225,0)]" + "@value": "[(214,0)-(223,0)]" } ] }, @@ -7564,7 +7531,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(218,12)-(225,0)]" + "@value": "[(216,12)-(223,0)]" } ] } @@ -7604,7 +7571,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(217,6)-(218,0)]" + "@value": "[(215,6)-(216,0)]" } ] }, @@ -7617,7 +7584,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(215,4)-(225,0)]" + "@value": "[(213,4)-(223,0)]" } ] }, @@ -7630,7 +7597,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(216,0)-(225,0)]" + "@value": "[(214,0)-(223,0)]" } ] }, @@ -7643,7 +7610,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(216,6)-(217,0)]" + "@value": "[(214,6)-(215,0)]" } ] }, @@ -7656,7 +7623,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(215,4)-(215,10)]" + "@value": "[(213,4)-(213,10)]" } ] } @@ -7684,15 +7651,15 @@ ], "http://a.ml/vocabularies/apiBinding#bindings": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message", + "@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": [ - "http://a.ml/vocabularies/apiBinding#GooglePubSubMessageBinding", + "http://a.ml/vocabularies/apiBinding#GooglePubSubMessageBinding010", "http://a.ml/vocabularies/apiBinding#MessageBinding", "http://a.ml/vocabularies/document#DomainElement" ], "http://a.ml/vocabularies/apiBinding#attribute": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/object_1", + "@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", "@type": [ "http://a.ml/vocabularies/data#Object", "http://a.ml/vocabularies/data#Node", @@ -7700,7 +7667,7 @@ ], "http://a.ml/vocabularies/data#exampleAttribute": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/object_1/exampleAttribute", + "@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": [ "http://a.ml/vocabularies/data#Scalar", "http://a.ml/vocabularies/data#Node", @@ -7723,13 +7690,13 @@ ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/object_1/exampleAttribute/source-map", + "@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/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/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/object_1/exampleAttribute/source-map/synthesized-field/element_1", + "@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/source-map/synthesized-field/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://www.w3.org/ns/shacl#datatype" @@ -7742,7 +7709,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/object_1/exampleAttribute/source-map/synthesized-field/element_0", + "@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/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/core#name" @@ -7757,15 +7724,15 @@ ], "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/message-bindings/bindings/googlepubsub-message/object_1/exampleAttribute/source-map/lexical/element_0", + "@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/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/msg/messageAvro/message-bindings/bindings/googlepubsub-message/object_1/exampleAttribute" + "@value": "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" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(178,30)-(178,42)]" + "@value": "[(176,30)-(176,42)]" } ] } @@ -7781,13 +7748,13 @@ ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/object_1/source-map", + "@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/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/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/object_1/source-map/synthesized-field/element_0", + "@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/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/core#name" @@ -7802,20 +7769,20 @@ ], "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/message-bindings/bindings/googlepubsub-message/object_1/source-map/lexical/element_1", + "@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/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/msg/messageAvro/message-bindings/bindings/googlepubsub-message/object_1" + "@value": "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" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(178,0)-(179,0)]" + "@value": "[(176,0)-(177,0)]" } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/object_1/source-map/lexical/element_0", + "@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/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/data#exampleAttribute" @@ -7823,7 +7790,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(178,12)-(179,0)]" + "@value": "[(176,12)-(177,0)]" } ] } @@ -7839,64 +7806,64 @@ ], "http://a.ml/vocabularies/apiBinding#schemaDefinition": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/googlepubsub-schemaDefinition", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message-010/googlepubsub-schemaDefinition-010", "@type": [ - "http://a.ml/vocabularies/apiBinding#GooglePubSubSchemaDefinition", + "http://a.ml/vocabularies/apiBinding#GooglePubSubSchemaDefinition010", "http://a.ml/vocabularies/document#DomainElement" ], - "http://a.ml/vocabularies/apiBinding#name": [ + "http://a.ml/vocabularies/apiBinding#type": [ { - "@value": "projects/your-project/schemas/message-avro" + "@value": "avro" } ], - "http://a.ml/vocabularies/apiBinding#type": [ + "http://a.ml/vocabularies/core#name": [ { - "@value": "avro" + "@value": "projects/your-project/schemas/message-avro" } ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/googlepubsub-schemaDefinition/source-map", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message-010/googlepubsub-schemaDefinition-010/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/googlepubsub-schemaDefinition/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message-010/googlepubsub-schemaDefinition-010/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiBinding#name" + "@value": "http://a.ml/vocabularies/apiBinding#type" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(182,12)-(183,0)]" + "@value": "[(181,12)-(182,0)]" } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/googlepubsub-schemaDefinition/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message-010/googlepubsub-schemaDefinition-010/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiBinding#type" + "@value": "http://a.ml/vocabularies/core#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(183,12)-(184,0)]" + "@value": "[(180,12)-(181,0)]" } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/googlepubsub-schemaDefinition/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message-010/googlepubsub-schemaDefinition-010/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/msg/messageAvro/message-bindings/bindings/googlepubsub-message/googlepubsub-schemaDefinition" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message-010/googlepubsub-schemaDefinition-010" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(181,17)-(184,0)]" + "@value": "[(179,17)-(182,0)]" } ] } @@ -7917,13 +7884,13 @@ ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/source-map", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message-010/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/source-map/lexical/element_5", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message-010/source-map/lexical/element_5", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#bindingVersion" @@ -7931,25 +7898,25 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(180,10)-(181,0)]" + "@value": "[(178,10)-(179,0)]" } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/source-map/lexical/element_3", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message-010/source-map/lexical/element_3", "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/message-bindings/bindings/googlepubsub-message" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message-010" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(176,8)-(184,0)]" + "@value": "[(174,8)-(182,0)]" } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message-010/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#schemaDefinition" @@ -7957,12 +7924,12 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(181,10)-(184,0)]" + "@value": "[(179,10)-(182,0)]" } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message-010/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#type" @@ -7970,12 +7937,12 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(176,8)-(176,20)]" + "@value": "[(174,8)-(174,20)]" } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message-010/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#attribute" @@ -7983,12 +7950,12 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(177,10)-(179,0)]" + "@value": "[(175,10)-(177,0)]" } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/source-map/lexical/element_4", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message-010/source-map/lexical/element_4", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#orderingKey" @@ -7996,7 +7963,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(179,10)-(180,0)]" + "@value": "[(177,10)-(178,0)]" } ] } @@ -8021,7 +7988,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(176,0)-(184,0)]" + "@value": "[(174,0)-(182,0)]" } ] }, @@ -8034,7 +8001,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(176,0)-(184,0)]" + "@value": "[(174,0)-(182,0)]" } ] } @@ -8074,7 +8041,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(174,4)-(174,15)]" + "@value": "[(172,4)-(172,15)]" } ] }, @@ -8087,7 +8054,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(175,6)-(184,0)]" + "@value": "[(173,6)-(182,0)]" } ] }, @@ -8100,7 +8067,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(174,4)-(184,0)]" + "@value": "[(172,4)-(182,0)]" } ] } @@ -8144,12 +8111,17 @@ ], "http://a.ml/vocabularies/document#link-target": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/marketData/payload/default/shape/schema/shape/schema" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/shape/market" } ], "http://a.ml/vocabularies/document#link-label": [ { - "@value": "#/components/schemas/market" + "@value": "market" + } + ], + "http://a.ml/vocabularies/document#recursive": [ + { + "@value": true } ], "http://www.w3.org/ns/shacl#name": [ @@ -8165,10 +8137,10 @@ ], "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/marketData/payload/default/shape/schema/source-map/synthesized-field/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/marketData/payload/default/shape/schema/source-map/synthesized-field/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/document#link-target" + "@value": "http://a.ml/vocabularies/document#link-label" } ], "http://a.ml/vocabularies/document-source-maps#value": [ @@ -8181,7 +8153,20 @@ "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/marketData/payload/default/shape/schema/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/document#link-label" + "@value": "http://a.ml/vocabularies/document#recursive" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "true" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/marketData/payload/default/shape/schema/source-map/synthesized-field/element_1", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "http://a.ml/vocabularies/document#link-target" } ], "http://a.ml/vocabularies/document-source-maps#value": [ @@ -8201,7 +8186,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(190,6)-(192,0)]" + "@value": "[(188,6)-(190,0)]" } ] } @@ -8226,7 +8211,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(185,0)-(201,0)]" + "@value": "[(183,0)-(199,0)]" } ] }, @@ -8239,7 +8224,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(190,6)-(192,0)]" + "@value": "[(188,6)-(190,0)]" } ] } @@ -8360,7 +8345,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(197,20)-(197,27)]" + "@value": "[(195,20)-(195,27)]" } ] } @@ -8436,7 +8421,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(198,20)-(198,26)]" + "@value": "[(196,20)-(196,26)]" } ] } @@ -8481,7 +8466,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(197,12)-(198,0)]" + "@value": "[(195,12)-(196,0)]" } ] }, @@ -8494,7 +8479,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(198,12)-(199,0)]" + "@value": "[(196,12)-(197,0)]" } ] }, @@ -8507,7 +8492,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(197,0)-(199,0)]" + "@value": "[(195,0)-(197,0)]" } ] } @@ -8565,7 +8550,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(194,10)-(195,0)]" + "@value": "[(192,10)-(193,0)]" } ] }, @@ -8578,7 +8563,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(195,10)-(196,0)]" + "@value": "[(193,10)-(194,0)]" } ] }, @@ -8591,7 +8576,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(196,18)-(199,0)]" + "@value": "[(194,18)-(197,0)]" } ] } @@ -8717,7 +8702,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(200,27)-(200,38)]" + "@value": "[(198,27)-(198,38)]" } ] } @@ -8762,7 +8747,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(200,0)-(201,0)]" + "@value": "[(198,0)-(199,0)]" } ] }, @@ -8775,7 +8760,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(200,12)-(201,0)]" + "@value": "[(198,12)-(199,0)]" } ] } @@ -8833,7 +8818,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(194,10)-(195,0)]" + "@value": "[(192,10)-(193,0)]" } ] }, @@ -8846,7 +8831,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(195,10)-(196,0)]" + "@value": "[(193,10)-(194,0)]" } ] }, @@ -8859,7 +8844,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(199,18)-(201,0)]" + "@value": "[(197,18)-(199,0)]" } ] } @@ -8919,7 +8904,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(186,6)-(187,0)]" + "@value": "[(184,6)-(185,0)]" } ] }, @@ -8932,7 +8917,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(184,4)-(201,0)]" + "@value": "[(182,4)-(199,0)]" } ] }, @@ -8945,7 +8930,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(185,6)-(186,0)]" + "@value": "[(183,6)-(184,0)]" } ] }, @@ -8958,7 +8943,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(187,6)-(188,0)]" + "@value": "[(185,6)-(186,0)]" } ] }, @@ -8971,7 +8956,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(184,4)-(184,14)]" + "@value": "[(182,4)-(182,14)]" } ] }, @@ -8984,7 +8969,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(188,6)-(190,0)]" + "@value": "[(186,6)-(188,0)]" } ] } @@ -9126,7 +9111,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(209,15)-(209,22)]" + "@value": "[(207,15)-(207,22)]" } ] } @@ -9171,7 +9156,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(209,6)-(210,0)]" + "@value": "[(207,6)-(208,0)]" } ] }, @@ -9184,7 +9169,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(210,6)-(211,0)]" + "@value": "[(208,6)-(209,0)]" } ] }, @@ -9197,7 +9182,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(209,6)-(210,0)]" + "@value": "[(207,6)-(208,0)]" } ] }, @@ -9210,7 +9195,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(209,0)-(211,0)]" + "@value": "[(207,0)-(209,0)]" } ] } @@ -9304,7 +9289,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(208,4)-(211,0)]" + "@value": "[(206,4)-(209,0)]" } ] }, @@ -9317,7 +9302,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(208,4)-(208,15)]" + "@value": "[(206,4)-(206,15)]" } ] } @@ -9459,7 +9444,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(212,15)-(212,17)]" + "@value": "[(210,15)-(210,17)]" } ] } @@ -9504,7 +9489,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(212,6)-(213,0)]" + "@value": "[(210,6)-(211,0)]" } ] }, @@ -9517,7 +9502,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(213,6)-(214,0)]" + "@value": "[(211,6)-(212,0)]" } ] }, @@ -9530,7 +9515,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(212,6)-(213,0)]" + "@value": "[(210,6)-(211,0)]" } ] }, @@ -9543,7 +9528,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(212,0)-(214,0)]" + "@value": "[(210,0)-(212,0)]" } ] } @@ -9637,7 +9622,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(211,4)-(214,0)]" + "@value": "[(209,4)-(212,0)]" } ] }, @@ -9650,7 +9635,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(211,4)-(211,11)]" + "@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 62f129f6dd..7399bc85ae 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 @@ -664,7 +664,7 @@ ], "http://a.ml/vocabularies/apiBinding#bindings": [ { - "@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-operation" + "@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" } ], "http://a.ml/vocabularies/document-source-maps#sources": [ @@ -695,7 +695,7 @@ ], "http://a.ml/vocabularies/apiBinding#bindings": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-operation" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-channel" } ], "http://a.ml/vocabularies/document-source-maps#sources": [ @@ -729,7 +729,7 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api", - "http://a.ml/vocabularies/document-source-maps#value": "[(1,0)-(225,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(1,0)-(223,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/source-map/lexical/element_1", @@ -739,7 +739,7 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#endpoint", - "http://a.ml/vocabularies/document-source-maps#value": "[(45,0)-(172,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(45,0)-(170,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/source-map/lexical/element_2", @@ -1360,7 +1360,7 @@ ], "http://a.ml/vocabularies/apiBinding#bindings": [ { - "@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" + "@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" } ], "http://a.ml/vocabularies/document-source-maps#sources": [ @@ -1386,36 +1386,36 @@ { "@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)-(138,0)]" + "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/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)-(138,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(119,0)-(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-operation", + "@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", "@type": [ - "http://a.ml/vocabularies/apiBinding#GooglePubSubChannelBinding", + "http://a.ml/vocabularies/apiBinding#GooglePubSubChannelBinding010", "http://a.ml/vocabularies/apiBinding#ChannelBinding", "http://a.ml/vocabularies/document#DomainElement" ], + "http://a.ml/vocabularies/apiBinding#topic": "projects/your-project/topics/topic-proto-schema", "http://a.ml/vocabularies/apiBinding#labels": { - "@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-operation/object_1" + "@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/object_1" }, "http://a.ml/vocabularies/apiBinding#messageRetentionDuration": "86400s", "http://a.ml/vocabularies/apiBinding#messageStoragePolicy": { - "@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-operation/googlepubsub-messageStoragePolicy" + "@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/googlepubsub-messageStoragePolicy" }, "http://a.ml/vocabularies/apiBinding#schemaSettings": { - "@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-operation/googlepubsub-schemaSettings" + "@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/googlepubsub-schemaSettings" }, - "http://a.ml/vocabularies/apiBinding#topic": "projects/your-project/topics/topic-proto-schema", "http://a.ml/vocabularies/apiBinding#bindingVersion": "latest", "http://a.ml/vocabularies/apiBinding#type": "googlepubsub", "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@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-operation/source-map" + "@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/source-map" } ] }, @@ -1436,15 +1436,15 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/topic-proto-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/topic-proto-schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(138,2)-(155,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(136,2)-(153,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/topic-proto-schema/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": "[(139,4)-(155,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(137,4)-(153,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-operation", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-channel", "@type": [ "http://a.ml/vocabularies/apiBinding#PulsarChannelBinding", "http://a.ml/vocabularies/apiBinding#ChannelBinding", @@ -1459,7 +1459,7 @@ "list" ], "http://a.ml/vocabularies/apiBinding#retention": { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-operation/pulsar-retention" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-channel/pulsar-retention" }, "http://a.ml/vocabularies/apiBinding#ttl": 12, "http://a.ml/vocabularies/apiBinding#deduplication": false, @@ -1467,7 +1467,7 @@ "http://a.ml/vocabularies/apiBinding#type": "pulsar", "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-operation/source-map" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-channel/source-map" } ] }, @@ -1488,17 +1488,17 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-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": "[(171,4)-(172,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(169,4)-(170,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-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": "[(156,4)-(171,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(154,4)-(169,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-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/sixth-channel", - "http://a.ml/vocabularies/document-source-maps#value": "[(155,2)-(172,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(153,2)-(170,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/server/some.com/variable/parameter/path/environment/scalar/environment/scalar_1", @@ -2201,25 +2201,25 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(99,0)-(103,0)]" }, { - "@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", + "@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", "@type": [ - "http://a.ml/vocabularies/apiBinding#SolaceOperationBinding", + "http://a.ml/vocabularies/apiBinding#SolaceOperationBinding020", "http://a.ml/vocabularies/apiBinding#OperationBinding", "http://a.ml/vocabularies/document#DomainElement" ], "http://a.ml/vocabularies/apiBinding#destinations": [ { - "@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/destinations/solace-destination" + "@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" }, { - "@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/destinations/solace-destination_2" + "@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_2" } ], - "http://a.ml/vocabularies/apiBinding#bindingVersion": "0.3.0", + "http://a.ml/vocabularies/apiBinding#bindingVersion": "0.2.0", "http://a.ml/vocabularies/apiBinding#type": "solace", "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@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/source-map" + "@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/source-map" } ] }, @@ -2240,35 +2240,35 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/forth-channel/supportedOperation/publish/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/supportedOperation/publish", - "http://a.ml/vocabularies/document-source-maps#value": "[(119,4)-(138,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(119,4)-(136,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/forth-channel/supportedOperation/publish/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": "[(120,6)-(138,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(120,6)-(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-operation/object_1", + "@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/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/data#label1": { - "@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-operation/object_1/label1" + "@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/object_1/label1" }, "http://a.ml/vocabularies/data#label2": { - "@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-operation/object_1/label2" + "@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/object_1/label2" }, "http://a.ml/vocabularies/core#name": "object_1", "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@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-operation/object_1/source-map" + "@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/object_1/source-map" } ] }, { - "@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-operation/googlepubsub-messageStoragePolicy", + "@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/googlepubsub-messageStoragePolicy", "@type": [ "http://a.ml/vocabularies/apiBinding#GooglePubSubMessageStoragePolicy", "http://a.ml/vocabularies/document#DomainElement" @@ -2279,72 +2279,72 @@ ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@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-operation/googlepubsub-messageStoragePolicy/source-map" + "@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/googlepubsub-messageStoragePolicy/source-map" } ] }, { - "@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-operation/googlepubsub-schemaSettings", + "@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/googlepubsub-schemaSettings", "@type": [ "http://a.ml/vocabularies/apiBinding#GooglePubSubSchemaSettings", "http://a.ml/vocabularies/document#DomainElement" ], + "http://a.ml/vocabularies/core#name": "projects/your-project/schemas/messageAvro", "http://a.ml/vocabularies/apiBinding#encoding": "binary", "http://a.ml/vocabularies/apiBinding#firstRevisionId": "1.0.0", "http://a.ml/vocabularies/apiBinding#lastRevisionId": "2.0.0", - "http://a.ml/vocabularies/apiBinding#name": "projects/your-project/schemas/messageAvro", "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@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-operation/googlepubsub-schemaSettings/source-map" + "@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/googlepubsub-schemaSettings/source-map" } ] }, { - "@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-operation/source-map", + "@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/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/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/topic-proto-schema/channel-bindings/bindings/googlepubsub-operation/source-map/synthesized-field/element_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/source-map/synthesized-field/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/topic-proto-schema/channel-bindings/bindings/googlepubsub-operation/source-map/lexical/element_6" + "@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/source-map/lexical/element_6" }, { - "@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-operation/source-map/lexical/element_4" + "@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/source-map/lexical/element_4" }, { - "@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-operation/source-map/lexical/element_2" + "@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/source-map/lexical/element_2" }, { - "@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-operation/source-map/lexical/element_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/source-map/lexical/element_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-operation/source-map/lexical/element_1" + "@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/source-map/lexical/element_1" }, { - "@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-operation/source-map/lexical/element_3" + "@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/source-map/lexical/element_3" }, { - "@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-operation/source-map/lexical/element_5" + "@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/source-map/lexical/element_5" } ] }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/topic-proto-schema/channel-bindings/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/topic-proto-schema/channel-bindings", - "http://a.ml/vocabularies/document-source-maps#value": "[(140,0)-(155,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(138,0)-(153,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/topic-proto-schema/channel-bindings/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#bindings", - "http://a.ml/vocabularies/document-source-maps#value": "[(140,0)-(155,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(138,0)-(153,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-operation/pulsar-retention", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-channel/pulsar-retention", "@type": [ "http://a.ml/vocabularies/apiBinding#PulsarChannelRetention", "http://a.ml/vocabularies/document#DomainElement" @@ -2353,57 +2353,57 @@ "http://a.ml/vocabularies/apiBinding#size": 321, "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-operation/pulsar-retention/source-map" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-channel/pulsar-retention/source-map" } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-operation/source-map", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-channel/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-operation/source-map/lexical/element_9" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-channel/source-map/lexical/element_9" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-operation/source-map/lexical/element_7" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-channel/source-map/lexical/element_7" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-operation/source-map/lexical/element_5" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-channel/source-map/lexical/element_5" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-operation/source-map/lexical/element_3" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-channel/source-map/lexical/element_3" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-operation/source-map/lexical/element_1" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-channel/source-map/lexical/element_1" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-operation/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-channel/source-map/lexical/element_0" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-operation/source-map/lexical/element_2" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-channel/source-map/lexical/element_2" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-operation/source-map/lexical/element_4" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-channel/source-map/lexical/element_4" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-operation/source-map/lexical/element_6" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-channel/source-map/lexical/element_6" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-operation/source-map/lexical/element_8" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-channel/source-map/lexical/element_8" } ] }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/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/sixth-channel/channel-bindings", - "http://a.ml/vocabularies/document-source-maps#value": "[(157,0)-(171,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(155,0)-(169,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#bindings", - "http://a.ml/vocabularies/document-source-maps#value": "[(157,0)-(171,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(155,0)-(169,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/server/some.com/variable/parameter/path/environment/scalar/environment/scalar_1/source-map", @@ -3123,71 +3123,73 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(100,8)-(101,0)]" }, { - "@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/destinations/solace-destination", + "@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", "@type": [ + "http://a.ml/vocabularies/apiBinding#SolaceOperationDestination020", "http://a.ml/vocabularies/apiBinding#SolaceOperationDestination", "http://a.ml/vocabularies/document#DomainElement" ], "http://a.ml/vocabularies/apiBinding#destinationType": "queue", "http://a.ml/vocabularies/apiBinding#deliveryMode": "persistent", "http://a.ml/vocabularies/apiBinding#queue": { - "@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/destinations/solace-destination/solace-queue" + "@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" }, "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@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/destinations/solace-destination/source-map" + "@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/source-map" } ] }, { - "@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/destinations/solace-destination_2", + "@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_2", "@type": [ + "http://a.ml/vocabularies/apiBinding#SolaceOperationDestination020", "http://a.ml/vocabularies/apiBinding#SolaceOperationDestination", "http://a.ml/vocabularies/document#DomainElement" ], "http://a.ml/vocabularies/apiBinding#destinationType": "topic", "http://a.ml/vocabularies/apiBinding#deliveryMode": "persistent", "http://a.ml/vocabularies/apiBinding#topic": { - "@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/destinations/solace-destination_2/solace-topic" + "@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_2/solace-topic" }, "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@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/destinations/solace-destination_2/source-map" + "@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_2/source-map" } ] }, { - "@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/source-map", + "@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/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/forth-channel/supportedOperation/publish/operation-bindings/bindings/solace-operation/source-map/lexical/element_3" + "@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/source-map/lexical/element_3" }, { - "@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/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/supportedOperation/publish/operation-bindings/bindings/solace-operation-020/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/supportedOperation/publish/operation-bindings/bindings/solace-operation/source-map/lexical/element_0" + "@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/source-map/lexical/element_0" }, { - "@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/source-map/lexical/element_2" + "@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/source-map/lexical/element_2" } ] }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/forth-channel/supportedOperation/publish/operation-bindings/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/supportedOperation/publish/operation-bindings", - "http://a.ml/vocabularies/document-source-maps#value": "[(121,0)-(138,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(121,0)-(136,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/forth-channel/supportedOperation/publish/operation-bindings/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#bindings", - "http://a.ml/vocabularies/document-source-maps#value": "[(121,0)-(138,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(121,0)-(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-operation/object_1/label1", + "@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/object_1/label1", "@type": [ "http://a.ml/vocabularies/data#Scalar", "http://a.ml/vocabularies/data#Node", @@ -3202,12 +3204,12 @@ "http://a.ml/vocabularies/core#name": "label1", "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@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-operation/object_1/label1/source-map" + "@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/object_1/label1/source-map" } ] }, { - "@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-operation/object_1/label2", + "@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/object_1/label2", "@type": [ "http://a.ml/vocabularies/data#Scalar", "http://a.ml/vocabularies/data#Node", @@ -3222,175 +3224,175 @@ "http://a.ml/vocabularies/core#name": "label2", "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@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-operation/object_1/label2/source-map" + "@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/object_1/label2/source-map" } ] }, { - "@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-operation/object_1/source-map", + "@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/object_1/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/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/topic-proto-schema/channel-bindings/bindings/googlepubsub-operation/object_1/source-map/synthesized-field/element_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/object_1/source-map/synthesized-field/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/topic-proto-schema/channel-bindings/bindings/googlepubsub-operation/object_1/source-map/lexical/element_2" + "@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/object_1/source-map/lexical/element_2" }, { - "@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-operation/object_1/source-map/lexical/element_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/object_1/source-map/lexical/element_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-operation/object_1/source-map/lexical/element_1" + "@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/object_1/source-map/lexical/element_1" } ] }, { - "@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-operation/googlepubsub-messageStoragePolicy/source-map", + "@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/googlepubsub-messageStoragePolicy/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/topic-proto-schema/channel-bindings/bindings/googlepubsub-operation/googlepubsub-messageStoragePolicy/source-map/lexical/element_1" + "@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/googlepubsub-messageStoragePolicy/source-map/lexical/element_1" }, { - "@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-operation/googlepubsub-messageStoragePolicy/source-map/lexical/element_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/googlepubsub-messageStoragePolicy/source-map/lexical/element_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-operation/googlepubsub-schemaSettings/source-map", + "@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/googlepubsub-schemaSettings/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/topic-proto-schema/channel-bindings/bindings/googlepubsub-operation/googlepubsub-schemaSettings/source-map/lexical/element_4" + "@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/googlepubsub-schemaSettings/source-map/lexical/element_4" }, { - "@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-operation/googlepubsub-schemaSettings/source-map/lexical/element_2" + "@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/googlepubsub-schemaSettings/source-map/lexical/element_2" }, { - "@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-operation/googlepubsub-schemaSettings/source-map/lexical/element_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/googlepubsub-schemaSettings/source-map/lexical/element_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-operation/googlepubsub-schemaSettings/source-map/lexical/element_1" + "@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/googlepubsub-schemaSettings/source-map/lexical/element_1" }, { - "@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-operation/googlepubsub-schemaSettings/source-map/lexical/element_3" + "@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/googlepubsub-schemaSettings/source-map/lexical/element_3" } ] }, { - "@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-operation/source-map/synthesized-field/element_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/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#bindingVersion", "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/topic-proto-schema/channel-bindings/bindings/googlepubsub-operation/source-map/lexical/element_6", - "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#topic", - "http://a.ml/vocabularies/document-source-maps#value": "[(144,8)-(145,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/source-map/lexical/element_6", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#schemaSettings", + "http://a.ml/vocabularies/document-source-maps#value": "[(148,8)-(153,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-operation/source-map/lexical/element_4", - "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#labels", - "http://a.ml/vocabularies/document-source-maps#value": "[(141,8)-(144,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/source-map/lexical/element_4", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#topic", + "http://a.ml/vocabularies/document-source-maps#value": "[(142,8)-(143,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-operation/source-map/lexical/element_2", - "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#messageRetentionDuration", - "http://a.ml/vocabularies/document-source-maps#value": "[(145,8)-(146,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/source-map/lexical/element_2", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#labels", + "http://a.ml/vocabularies/document-source-maps#value": "[(139,8)-(142,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-operation/source-map/lexical/element_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/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#type", - "http://a.ml/vocabularies/document-source-maps#value": "[(140,6)-(140,18)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(138,6)-(138,18)]" }, { - "@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-operation/source-map/lexical/element_1", - "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#schemaSettings", - "http://a.ml/vocabularies/document-source-maps#value": "[(150,8)-(155,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/source-map/lexical/element_1", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#messageStoragePolicy", + "http://a.ml/vocabularies/document-source-maps#value": "[(144,8)-(148,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-operation/source-map/lexical/element_3", - "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/topic-proto-schema/channel-bindings/bindings/googlepubsub-operation", - "http://a.ml/vocabularies/document-source-maps#value": "[(140,6)-(155,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/source-map/lexical/element_3", + "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/topic-proto-schema/channel-bindings/bindings/googlepubsub-channel-010", + "http://a.ml/vocabularies/document-source-maps#value": "[(138,6)-(153,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-operation/source-map/lexical/element_5", - "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#messageStoragePolicy", - "http://a.ml/vocabularies/document-source-maps#value": "[(146,8)-(150,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/source-map/lexical/element_5", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#messageRetentionDuration", + "http://a.ml/vocabularies/document-source-maps#value": "[(143,8)-(144,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-operation/pulsar-retention/source-map", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-channel/pulsar-retention/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-operation/pulsar-retention/source-map/lexical/element_2" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-channel/pulsar-retention/source-map/lexical/element_2" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-operation/pulsar-retention/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-channel/pulsar-retention/source-map/lexical/element_0" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-operation/pulsar-retention/source-map/lexical/element_1" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-channel/pulsar-retention/source-map/lexical/element_1" } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-operation/source-map/lexical/element_9", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-channel/source-map/lexical/element_9", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#bindingVersion", - "http://a.ml/vocabularies/document-source-maps#value": "[(170,8)-(171,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(168,8)-(169,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-operation/source-map/lexical/element_7", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-channel/source-map/lexical/element_7", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#geo-replication", - "http://a.ml/vocabularies/document-source-maps#value": "[(161,8)-(165,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(159,8)-(163,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-operation/source-map/lexical/element_5", - "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/sixth-channel/channel-bindings/bindings/pulsar-operation", - "http://a.ml/vocabularies/document-source-maps#value": "[(157,6)-(171,0)]" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-channel/source-map/lexical/element_5", + "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/sixth-channel/channel-bindings/bindings/pulsar-channel", + "http://a.ml/vocabularies/document-source-maps#value": "[(155,6)-(169,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-operation/source-map/lexical/element_3", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-channel/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#compaction", - "http://a.ml/vocabularies/document-source-maps#value": "[(160,8)-(161,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(158,8)-(159,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-operation/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-channel/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#deduplication", - "http://a.ml/vocabularies/document-source-maps#value": "[(169,8)-(170,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(167,8)-(168,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-operation/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-channel/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#type", - "http://a.ml/vocabularies/document-source-maps#value": "[(157,6)-(157,12)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(155,6)-(155,12)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-operation/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-channel/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#retention", - "http://a.ml/vocabularies/document-source-maps#value": "[(165,8)-(168,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(163,8)-(166,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-operation/source-map/lexical/element_4", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-channel/source-map/lexical/element_4", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#namespace", - "http://a.ml/vocabularies/document-source-maps#value": "[(158,8)-(159,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(156,8)-(157,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-operation/source-map/lexical/element_6", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-channel/source-map/lexical/element_6", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#persistence", - "http://a.ml/vocabularies/document-source-maps#value": "[(159,8)-(160,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(157,8)-(158,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-operation/source-map/lexical/element_8", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-channel/source-map/lexical/element_8", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#ttl", - "http://a.ml/vocabularies/document-source-maps#value": "[(168,8)-(169,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(166,8)-(167,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/server/some.com/variable/parameter/path/environment/scalar/environment/scalar_1/source-map/synthesized-field/element_1", @@ -3467,27 +3469,27 @@ { "@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", - "http://a.ml/vocabularies/document-source-maps#value": "[(217,6)-(218,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(215,6)-(216,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/scheme/oauth2/source-map/lexical/element_2", "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": "[(215,4)-(225,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(213,4)-(223,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/scheme/oauth2/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/security#settings", - "http://a.ml/vocabularies/document-source-maps#value": "[(216,0)-(225,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(214,0)-(223,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/scheme/oauth2/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/security#type", - "http://a.ml/vocabularies/document-source-maps#value": "[(216,6)-(217,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(214,6)-(215,0)]" }, { "@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#element": "http://a.ml/vocabularies/core#name", - "http://a.ml/vocabularies/document-source-maps#value": "[(215,4)-(215,10)]" + "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#/async-api/server/some.com/security/requirement_1/schemes/oauth2/settings/oauth2/flows/default-flow/scope/write%3Apets", @@ -3983,8 +3985,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(106,8)-(106,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/destinations/solace-destination/solace-queue", + "@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", "@type": [ + "http://a.ml/vocabularies/apiBinding#SolaceOperationQueue010", "http://a.ml/vocabularies/apiBinding#SolaceOperationQueue", "http://a.ml/vocabularies/document#DomainElement" ], @@ -3992,38 +3995,36 @@ "person/*/created" ], "http://a.ml/vocabularies/apiBinding#accessType": "exclusive", - "http://a.ml/vocabularies/apiBinding#maxMsgSpoolSize": "test", - "http://a.ml/vocabularies/apiBinding#maxTtl": "test", "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@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/destinations/solace-destination/solace-queue/source-map" + "@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" } ] }, { - "@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/destinations/solace-destination/source-map", + "@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/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/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/forth-channel/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination/source-map/synthesized-field/element_0" + "@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/source-map/synthesized-field/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/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination/source-map/lexical/element_2" + "@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/source-map/lexical/element_2" }, { - "@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/destinations/solace-destination/source-map/lexical/element_0" + "@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/source-map/lexical/element_0" }, { - "@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/destinations/solace-destination/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/supportedOperation/publish/operation-bindings/bindings/solace-operation-020/destinations/solace-operation-destination-020/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/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination_2/solace-topic", + "@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_2/solace-topic", "@type": [ "http://a.ml/vocabularies/apiBinding#SolaceOperationTopic", "http://a.ml/vocabularies/document#DomainElement" @@ -4033,159 +4034,159 @@ ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@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/destinations/solace-destination_2/solace-topic/source-map" + "@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_2/solace-topic/source-map" } ] }, { - "@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/destinations/solace-destination_2/source-map", + "@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_2/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/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/forth-channel/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination_2/source-map/synthesized-field/element_0" + "@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_2/source-map/synthesized-field/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/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination_2/source-map/lexical/element_2" + "@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_2/source-map/lexical/element_2" }, { - "@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/destinations/solace-destination_2/source-map/lexical/element_0" + "@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_2/source-map/lexical/element_0" }, { - "@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/destinations/solace-destination_2/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/supportedOperation/publish/operation-bindings/bindings/solace-operation-020/destinations/solace-operation-destination-020_2/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/supportedOperation/publish/operation-bindings/bindings/solace-operation/source-map/lexical/element_3", + "@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/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#bindingVersion", "http://a.ml/vocabularies/document-source-maps#value": "[(122,10)-(123,0)]" }, { - "@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/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/supportedOperation/publish/operation-bindings/bindings/solace-operation-020/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#destinations", - "http://a.ml/vocabularies/document-source-maps#value": "[(123,10)-(138,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(123,10)-(136,0)]" }, { - "@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/source-map/lexical/element_0", + "@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/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#type", "http://a.ml/vocabularies/document-source-maps#value": "[(121,8)-(121,14)]" }, { - "@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/source-map/lexical/element_2", - "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/supportedOperation/publish/operation-bindings/bindings/solace-operation", - "http://a.ml/vocabularies/document-source-maps#value": "[(121,8)-(138,0)]" + "@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/source-map/lexical/element_2", + "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/supportedOperation/publish/operation-bindings/bindings/solace-operation-020", + "http://a.ml/vocabularies/document-source-maps#value": "[(121,8)-(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-operation/object_1/label1/source-map", + "@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/object_1/label1/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/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/topic-proto-schema/channel-bindings/bindings/googlepubsub-operation/object_1/label1/source-map/synthesized-field/element_1" + "@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/object_1/label1/source-map/synthesized-field/element_1" }, { - "@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-operation/object_1/label1/source-map/synthesized-field/element_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/object_1/label1/source-map/synthesized-field/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/topic-proto-schema/channel-bindings/bindings/googlepubsub-operation/object_1/label1/source-map/lexical/element_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/object_1/label1/source-map/lexical/element_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-operation/object_1/label2/source-map", + "@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/object_1/label2/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/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/topic-proto-schema/channel-bindings/bindings/googlepubsub-operation/object_1/label2/source-map/synthesized-field/element_1" + "@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/object_1/label2/source-map/synthesized-field/element_1" }, { - "@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-operation/object_1/label2/source-map/synthesized-field/element_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/object_1/label2/source-map/synthesized-field/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/topic-proto-schema/channel-bindings/bindings/googlepubsub-operation/object_1/label2/source-map/lexical/element_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/object_1/label2/source-map/lexical/element_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-operation/object_1/source-map/synthesized-field/element_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/object_1/source-map/synthesized-field/element_0", "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/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/topic-proto-schema/channel-bindings/bindings/googlepubsub-operation/object_1/source-map/lexical/element_2", + "@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/object_1/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/data#label1", - "http://a.ml/vocabularies/document-source-maps#value": "[(142,10)-(143,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(140,10)-(141,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-operation/object_1/source-map/lexical/element_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/object_1/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/data#label2", - "http://a.ml/vocabularies/document-source-maps#value": "[(143,10)-(144,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(141,10)-(142,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-operation/object_1/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/topic-proto-schema/channel-bindings/bindings/googlepubsub-operation/object_1", - "http://a.ml/vocabularies/document-source-maps#value": "[(142,0)-(144,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/object_1/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/topic-proto-schema/channel-bindings/bindings/googlepubsub-channel-010/object_1", + "http://a.ml/vocabularies/document-source-maps#value": "[(140,0)-(142,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-operation/googlepubsub-messageStoragePolicy/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/topic-proto-schema/channel-bindings/bindings/googlepubsub-operation/googlepubsub-messageStoragePolicy", - "http://a.ml/vocabularies/document-source-maps#value": "[(146,29)-(150,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/googlepubsub-messageStoragePolicy/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/topic-proto-schema/channel-bindings/bindings/googlepubsub-channel-010/googlepubsub-messageStoragePolicy", + "http://a.ml/vocabularies/document-source-maps#value": "[(144,29)-(148,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-operation/googlepubsub-messageStoragePolicy/source-map/lexical/element_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/googlepubsub-messageStoragePolicy/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#allowedPersistenceRegions", - "http://a.ml/vocabularies/document-source-maps#value": "[(147,10)-(150,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(145,10)-(148,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-operation/googlepubsub-schemaSettings/source-map/lexical/element_4", - "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#lastRevisionId", - "http://a.ml/vocabularies/document-source-maps#value": "[(154,10)-(155,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/googlepubsub-schemaSettings/source-map/lexical/element_4", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#firstRevisionId", + "http://a.ml/vocabularies/document-source-maps#value": "[(151,10)-(152,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-operation/googlepubsub-schemaSettings/source-map/lexical/element_2", - "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/topic-proto-schema/channel-bindings/bindings/googlepubsub-operation/googlepubsub-schemaSettings", - "http://a.ml/vocabularies/document-source-maps#value": "[(150,23)-(155,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/googlepubsub-schemaSettings/source-map/lexical/element_2", + "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/topic-proto-schema/channel-bindings/bindings/googlepubsub-channel-010/googlepubsub-schemaSettings", + "http://a.ml/vocabularies/document-source-maps#value": "[(148,23)-(153,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-operation/googlepubsub-schemaSettings/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#name", + "@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/googlepubsub-schemaSettings/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#lastRevisionId", "http://a.ml/vocabularies/document-source-maps#value": "[(152,10)-(153,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-operation/googlepubsub-schemaSettings/source-map/lexical/element_1", - "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#firstRevisionId", - "http://a.ml/vocabularies/document-source-maps#value": "[(153,10)-(154,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/googlepubsub-schemaSettings/source-map/lexical/element_1", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#encoding", + "http://a.ml/vocabularies/document-source-maps#value": "[(149,10)-(150,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-operation/googlepubsub-schemaSettings/source-map/lexical/element_3", - "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#encoding", - "http://a.ml/vocabularies/document-source-maps#value": "[(151,10)-(152,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/googlepubsub-schemaSettings/source-map/lexical/element_3", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", + "http://a.ml/vocabularies/document-source-maps#value": "[(150,10)-(151,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-operation/pulsar-retention/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-channel/pulsar-retention/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#time", - "http://a.ml/vocabularies/document-source-maps#value": "[(166,10)-(167,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(164,10)-(165,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-operation/pulsar-retention/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-channel/pulsar-retention/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#size", - "http://a.ml/vocabularies/document-source-maps#value": "[(167,10)-(168,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(165,10)-(166,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-operation/pulsar-retention/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/sixth-channel/channel-bindings/bindings/pulsar-operation/pulsar-retention", - "http://a.ml/vocabularies/document-source-maps#value": "[(165,18)-(168,0)]" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/sixth-channel/channel-bindings/bindings/pulsar-channel/pulsar-retention/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/sixth-channel/channel-bindings/bindings/pulsar-channel/pulsar-retention", + "http://a.ml/vocabularies/document-source-maps#value": "[(163,18)-(166,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/scheme/oauth2/settings/oauth2/flows/implicit/scope/write%3Apets", @@ -4241,12 +4242,12 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/scheme/oauth2/settings/oauth2/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/scheme/oauth2/settings/oauth2", - "http://a.ml/vocabularies/document-source-maps#value": "[(216,0)-(225,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(214,0)-(223,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/scheme/oauth2/settings/oauth2/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/security#flows", - "http://a.ml/vocabularies/document-source-maps#value": "[(218,12)-(225,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(216,12)-(223,0)]" }, { "@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/source-map", @@ -4597,111 +4598,105 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(109,10)-(116,0)]" }, { - "@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/destinations/solace-destination/solace-queue/source-map", + "@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", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/forth-channel/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination/solace-queue/source-map/lexical/element_4" - }, - { - "@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/destinations/solace-destination/solace-queue/source-map/lexical/element_2" + "@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" }, { - "@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/destinations/solace-destination/solace-queue/source-map/lexical/element_0" + "@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_0" }, { - "@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/destinations/solace-destination/solace-queue/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/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination/solace-queue/source-map/lexical/element_3" + "@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_1" } ] }, { - "@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/destinations/solace-destination/source-map/synthesized-field/element_0", + "@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/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#deliveryMode", "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/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination/source-map/lexical/element_2", + "@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/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#destinationType", "http://a.ml/vocabularies/document-source-maps#value": "[(125,14)-(126,0)]" }, { - "@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/destinations/solace-destination/source-map/lexical/element_0", + "@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/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#queue", - "http://a.ml/vocabularies/document-source-maps#value": "[(126,14)-(133,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(126,14)-(131,0)]" }, { - "@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/destinations/solace-destination/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/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination", - "http://a.ml/vocabularies/document-source-maps#value": "[(125,0)-(133,0)]" + "@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/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/supportedOperation/publish/operation-bindings/bindings/solace-operation-020/destinations/solace-operation-destination-020", + "http://a.ml/vocabularies/document-source-maps#value": "[(125,0)-(131,0)]" }, { - "@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/destinations/solace-destination_2/solace-topic/source-map", + "@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_2/solace-topic/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/forth-channel/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination_2/solace-topic/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/supportedOperation/publish/operation-bindings/bindings/solace-operation-020/destinations/solace-operation-destination-020_2/solace-topic/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/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination_2/solace-topic/source-map/lexical/element_0" + "@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_2/solace-topic/source-map/lexical/element_0" } ] }, { - "@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/destinations/solace-destination_2/source-map/synthesized-field/element_0", + "@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_2/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#deliveryMode", "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/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination_2/source-map/lexical/element_2", + "@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_2/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#destinationType", - "http://a.ml/vocabularies/document-source-maps#value": "[(134,14)-(135,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(132,14)-(133,0)]" }, { - "@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/destinations/solace-destination_2/source-map/lexical/element_0", + "@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_2/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#topic", - "http://a.ml/vocabularies/document-source-maps#value": "[(135,14)-(138,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(133,14)-(136,0)]" }, { - "@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/destinations/solace-destination_2/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/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination_2", - "http://a.ml/vocabularies/document-source-maps#value": "[(134,0)-(138,0)]" + "@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_2/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/supportedOperation/publish/operation-bindings/bindings/solace-operation-020/destinations/solace-operation-destination-020_2", + "http://a.ml/vocabularies/document-source-maps#value": "[(132,0)-(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-operation/object_1/label1/source-map/synthesized-field/element_1", + "@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/object_1/label1/source-map/synthesized-field/element_1", "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/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/topic-proto-schema/channel-bindings/bindings/googlepubsub-operation/object_1/label1/source-map/synthesized-field/element_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/object_1/label1/source-map/synthesized-field/element_0", "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/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/topic-proto-schema/channel-bindings/bindings/googlepubsub-operation/object_1/label1/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/topic-proto-schema/channel-bindings/bindings/googlepubsub-operation/object_1/label1", - "http://a.ml/vocabularies/document-source-maps#value": "[(142,18)-(142,24)]" + "@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/object_1/label1/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/topic-proto-schema/channel-bindings/bindings/googlepubsub-channel-010/object_1/label1", + "http://a.ml/vocabularies/document-source-maps#value": "[(140,18)-(140,24)]" }, { - "@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-operation/object_1/label2/source-map/synthesized-field/element_1", + "@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/object_1/label2/source-map/synthesized-field/element_1", "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/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/topic-proto-schema/channel-bindings/bindings/googlepubsub-operation/object_1/label2/source-map/synthesized-field/element_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/object_1/label2/source-map/synthesized-field/element_0", "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/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/topic-proto-schema/channel-bindings/bindings/googlepubsub-operation/object_1/label2/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/topic-proto-schema/channel-bindings/bindings/googlepubsub-operation/object_1/label2", - "http://a.ml/vocabularies/document-source-maps#value": "[(143,18)-(143,24)]" + "@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/object_1/label2/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/topic-proto-schema/channel-bindings/bindings/googlepubsub-channel-010/object_1/label2", + "http://a.ml/vocabularies/document-source-maps#value": "[(141,18)-(141,24)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/scheme/oauth2/settings/oauth2/flows/implicit/scope/write%3Apets/source-map", @@ -4728,27 +4723,27 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/scheme/oauth2/settings/oauth2/flows/implicit/source-map/lexical/element_4", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/security#refreshUri", - "http://a.ml/vocabularies/document-source-maps#value": "[(221,10)-(222,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(219,10)-(220,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/scheme/oauth2/settings/oauth2/flows/implicit/source-map/lexical/element_2", "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", - "http://a.ml/vocabularies/document-source-maps#value": "[(219,8)-(225,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(217,8)-(223,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/scheme/oauth2/settings/oauth2/flows/implicit/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/security#scope", - "http://a.ml/vocabularies/document-source-maps#value": "[(222,10)-(225,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(220,10)-(223,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/scheme/oauth2/settings/oauth2/flows/implicit/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/security#flow", - "http://a.ml/vocabularies/document-source-maps#value": "[(219,8)-(219,16)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(217,8)-(217,16)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/scheme/oauth2/settings/oauth2/flows/implicit/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/security#authorizationUri", - "http://a.ml/vocabularies/document-source-maps#value": "[(220,10)-(221,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(218,10)-(219,0)]" }, { "@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/source-map/lexical/element_0", @@ -4913,49 +4908,39 @@ "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/destinations/solace-destination/solace-queue/source-map/lexical/element_4", - "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#maxMsgSpoolSize", - "http://a.ml/vocabularies/document-source-maps#value": "[(129,16)-(130,0)]" - }, - { - "@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/destinations/solace-destination/solace-queue/source-map/lexical/element_2", - "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/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination/solace-queue", - "http://a.ml/vocabularies/document-source-maps#value": "[(126,20)-(133,0)]" - }, - { - "@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/destinations/solace-destination/solace-queue/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#maxTtl", - "http://a.ml/vocabularies/document-source-maps#value": "[(130,16)-(131,0)]" + "@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", + "http://a.ml/vocabularies/document-source-maps#value": "[(129,16)-(131,0)]" }, { - "@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/destinations/solace-destination/solace-queue/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/supportedOperation/publish/operation-bindings/bindings/solace-operation-020/destinations/solace-operation-destination-020/solace-operation-queue-010/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#accessType", "http://a.ml/vocabularies/document-source-maps#value": "[(128,16)-(129,0)]" }, { - "@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/destinations/solace-destination/solace-queue/source-map/lexical/element_3", - "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#topicSubscriptions", - "http://a.ml/vocabularies/document-source-maps#value": "[(131,16)-(133,0)]" + "@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_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/supportedOperation/publish/operation-bindings/bindings/solace-operation-020/destinations/solace-operation-destination-020/solace-operation-queue-010", + "http://a.ml/vocabularies/document-source-maps#value": "[(126,20)-(131,0)]" }, { - "@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/destinations/solace-destination_2/solace-topic/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/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination_2/solace-topic", - "http://a.ml/vocabularies/document-source-maps#value": "[(135,20)-(138,0)]" + "@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_2/solace-topic/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/supportedOperation/publish/operation-bindings/bindings/solace-operation-020/destinations/solace-operation-destination-020_2/solace-topic", + "http://a.ml/vocabularies/document-source-maps#value": "[(133,20)-(136,0)]" }, { - "@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/destinations/solace-destination_2/solace-topic/source-map/lexical/element_0", + "@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_2/solace-topic/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#topicSubscriptions", - "http://a.ml/vocabularies/document-source-maps#value": "[(136,16)-(138,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(134,16)-(136,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/scheme/oauth2/settings/oauth2/flows/implicit/scope/write%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#/declares/scheme/oauth2/settings/oauth2/flows/implicit/scope/write%3Apets", - "http://a.ml/vocabularies/document-source-maps#value": "[(223,12)-(224,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(221,12)-(222,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/scheme/oauth2/settings/oauth2/flows/implicit/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#/declares/scheme/oauth2/settings/oauth2/flows/implicit/scope/read%3Apets", - "http://a.ml/vocabularies/document-source-maps#value": "[(224,12)-(225,0)]" + "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", @@ -5231,7 +5216,7 @@ ], "http://a.ml/vocabularies/apiBinding#bindings": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message-010" } ], "http://a.ml/vocabularies/document-source-maps#sources": [ @@ -5527,22 +5512,22 @@ { "@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#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": "[(203,6)-(203,10)]" + "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/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": "[(204,6)-(207,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(202,6)-(205,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/shape/market/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": "[(202,4)-(202,10)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(200,4)-(200,10)]" }, { "@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#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": "[(202,4)-(207,0)]" + "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", @@ -5550,24 +5535,24 @@ "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", + "@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": [ - "http://a.ml/vocabularies/apiBinding#GooglePubSubMessageBinding", + "http://a.ml/vocabularies/apiBinding#GooglePubSubMessageBinding010", "http://a.ml/vocabularies/apiBinding#MessageBinding", "http://a.ml/vocabularies/document#DomainElement" ], "http://a.ml/vocabularies/apiBinding#attribute": { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/object_1" + "@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" }, "http://a.ml/vocabularies/apiBinding#orderingKey": "userEventOrder", "http://a.ml/vocabularies/apiBinding#schemaDefinition": { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/googlepubsub-schemaDefinition" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message-010/googlepubsub-schemaDefinition-010" }, "http://a.ml/vocabularies/apiBinding#bindingVersion": "0.1.0", "http://a.ml/vocabularies/apiBinding#type": "googlepubsub", "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/source-map" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message-010/source-map" } ] }, @@ -5593,17 +5578,17 @@ { "@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", - "http://a.ml/vocabularies/document-source-maps#value": "[(174,4)-(174,15)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(172,4)-(172,15)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/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": "[(175,6)-(184,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(173,6)-(182,0)]" }, { "@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#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": "[(174,4)-(184,0)]" + "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/marketData/payload/default/shape/schema", @@ -5616,10 +5601,11 @@ ], "http://a.ml/vocabularies/document#link-target": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/marketData/payload/default/shape/schema/shape/schema" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/shape/market" } ], - "http://a.ml/vocabularies/document#link-label": "#/components/schemas/market", + "http://a.ml/vocabularies/document#link-label": "market", + "http://a.ml/vocabularies/document#recursive": true, "http://www.w3.org/ns/shacl#name": "schema", "http://a.ml/vocabularies/document-source-maps#sources": [ { @@ -5746,32 +5732,32 @@ { "@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", - "http://a.ml/vocabularies/document-source-maps#value": "[(186,6)-(187,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(184,6)-(185,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/marketData/source-map/lexical/element_3", "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": "[(184,4)-(201,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(182,4)-(199,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/marketData/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#displayName", - "http://a.ml/vocabularies/document-source-maps#value": "[(185,6)-(186,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(183,6)-(184,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/marketData/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#messageId", - "http://a.ml/vocabularies/document-source-maps#value": "[(187,6)-(188,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(185,6)-(186,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/marketData/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", - "http://a.ml/vocabularies/document-source-maps#value": "[(184,4)-(184,14)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(182,4)-(182,14)]" }, { "@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#element": "http://a.ml/vocabularies/core#description", - "http://a.ml/vocabularies/document-source-maps#value": "[(188,6)-(190,0)]" + "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", @@ -5851,12 +5837,12 @@ { "@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", - "http://a.ml/vocabularies/document-source-maps#value": "[(208,4)-(211,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(206,4)-(209,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": "http://a.ml/vocabularies/core#name", - "http://a.ml/vocabularies/document-source-maps#value": "[(208,4)-(208,15)]" + "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", @@ -5936,12 +5922,12 @@ { "@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", - "http://a.ml/vocabularies/document-source-maps#value": "[(211,4)-(214,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(209,4)-(212,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": "http://a.ml/vocabularies/core#name", - "http://a.ml/vocabularies/document-source-maps#value": "[(211,4)-(211,11)]" + "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", @@ -5975,74 +5961,74 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/shape/market/property/property/type/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#/declares/shape/market/property/property/type", - "http://a.ml/vocabularies/document-source-maps#value": "[(205,8)-(207,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(203,8)-(205,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/object_1", + "@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", "@type": [ "http://a.ml/vocabularies/data#Object", "http://a.ml/vocabularies/data#Node", "http://a.ml/vocabularies/document#DomainElement" ], "http://a.ml/vocabularies/data#exampleAttribute": { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/object_1/exampleAttribute" + "@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" }, "http://a.ml/vocabularies/core#name": "object_1", "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/object_1/source-map" + "@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/source-map" } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/googlepubsub-schemaDefinition", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message-010/googlepubsub-schemaDefinition-010", "@type": [ - "http://a.ml/vocabularies/apiBinding#GooglePubSubSchemaDefinition", + "http://a.ml/vocabularies/apiBinding#GooglePubSubSchemaDefinition010", "http://a.ml/vocabularies/document#DomainElement" ], - "http://a.ml/vocabularies/apiBinding#name": "projects/your-project/schemas/message-avro", "http://a.ml/vocabularies/apiBinding#type": "avro", + "http://a.ml/vocabularies/core#name": "projects/your-project/schemas/message-avro", "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/googlepubsub-schemaDefinition/source-map" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message-010/googlepubsub-schemaDefinition-010/source-map" } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/source-map", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message-010/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/source-map/lexical/element_5" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message-010/source-map/lexical/element_5" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/source-map/lexical/element_3" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message-010/source-map/lexical/element_3" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/source-map/lexical/element_1" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message-010/source-map/lexical/element_1" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message-010/source-map/lexical/element_0" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/source-map/lexical/element_2" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message-010/source-map/lexical/element_2" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/source-map/lexical/element_4" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message-010/source-map/lexical/element_4" } ] }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/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/msg/messageAvro/message-bindings", - "http://a.ml/vocabularies/document-source-maps#value": "[(176,0)-(184,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(174,0)-(182,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#bindings", - "http://a.ml/vocabularies/document-source-maps#value": "[(176,0)-(184,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(174,0)-(182,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/marketData/payload/default/shape/schema/source-map", @@ -6051,10 +6037,13 @@ ], "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/marketData/payload/default/shape/schema/source-map/synthesized-field/element_1" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/marketData/payload/default/shape/schema/source-map/synthesized-field/element_2" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/marketData/payload/default/shape/schema/source-map/synthesized-field/element_0" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/marketData/payload/default/shape/schema/source-map/synthesized-field/element_1" } ], "http://a.ml/vocabularies/document-source-maps#lexical": [ @@ -6066,12 +6055,12 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/marketData/payload/default/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/msg/marketData/payload/default", - "http://a.ml/vocabularies/document-source-maps#value": "[(185,0)-(201,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(183,0)-(199,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/marketData/payload/default/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(190,6)-(192,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(188,6)-(190,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/marketData/examples/example/default-example_2/object_1/userId", @@ -6148,17 +6137,17 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/marketData/examples/example/default-example_2/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#displayName", - "http://a.ml/vocabularies/document-source-maps#value": "[(194,10)-(195,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(192,10)-(193,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/marketData/examples/example/default-example_2/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": "[(195,10)-(196,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(193,10)-(194,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/marketData/examples/example/default-example_2/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/msg/marketData/examples/example/default-example_2", - "http://a.ml/vocabularies/document-source-maps#value": "[(196,18)-(199,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(194,18)-(197,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/marketData/examples/example/default-example_2/source-map/tracked-element/element_0", @@ -6217,17 +6206,17 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/marketData/headerExamples/example/default-example_1/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#displayName", - "http://a.ml/vocabularies/document-source-maps#value": "[(194,10)-(195,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(192,10)-(193,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/marketData/headerExamples/example/default-example_1/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": "[(195,10)-(196,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(193,10)-(194,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/marketData/headerExamples/example/default-example_1/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/msg/marketData/headerExamples/example/default-example_1", - "http://a.ml/vocabularies/document-source-maps#value": "[(199,18)-(201,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(197,18)-(199,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/marketData/headerExamples/example/default-example_1/source-map/tracked-element/element_0", @@ -6261,22 +6250,22 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/parameter/path/environment/scalar/environment/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#defaultValue", - "http://a.ml/vocabularies/document-source-maps#value": "[(209,6)-(210,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(207,6)-(208,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/parameter/path/environment/scalar/environment/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#description", - "http://a.ml/vocabularies/document-source-maps#value": "[(210,6)-(211,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(208,6)-(209,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/parameter/path/environment/scalar/environment/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#defaultValueStr", - "http://a.ml/vocabularies/document-source-maps#value": "[(209,6)-(210,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(207,6)-(208,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/parameter/path/environment/scalar/environment/source-map/lexical/element_2", "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/scalar/environment", - "http://a.ml/vocabularies/document-source-maps#value": "[(209,0)-(211,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(207,0)-(209,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/parameter/path/version/scalar/version/scalar_1/source-map", @@ -6305,40 +6294,40 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/parameter/path/version/scalar/version/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#defaultValue", - "http://a.ml/vocabularies/document-source-maps#value": "[(212,6)-(213,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(210,6)-(211,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/parameter/path/version/scalar/version/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#description", - "http://a.ml/vocabularies/document-source-maps#value": "[(213,6)-(214,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(211,6)-(212,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/parameter/path/version/scalar/version/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#defaultValueStr", - "http://a.ml/vocabularies/document-source-maps#value": "[(212,6)-(213,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(210,6)-(211,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/parameter/path/version/scalar/version/source-map/lexical/element_2", "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": "[(212,0)-(214,0)]" + "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": "[(206,10)-(206,14)]" + "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", - "http://a.ml/vocabularies/document-source-maps#value": "[(205,8)-(207,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(203,8)-(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/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": "[(206,10)-(207,0)]" + "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/msg/messageAvro/message-bindings/bindings/googlepubsub-message/object_1/exampleAttribute", + "@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": [ "http://a.ml/vocabularies/data#Scalar", "http://a.ml/vocabularies/data#Node", @@ -6353,90 +6342,95 @@ "http://a.ml/vocabularies/core#name": "exampleAttribute", "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/object_1/exampleAttribute/source-map" + "@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/source-map" } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/object_1/source-map", + "@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/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/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/object_1/source-map/synthesized-field/element_0" + "@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/source-map/synthesized-field/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/message-bindings/bindings/googlepubsub-message/object_1/source-map/lexical/element_1" + "@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/source-map/lexical/element_1" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/object_1/source-map/lexical/element_0" + "@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/source-map/lexical/element_0" } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/googlepubsub-schemaDefinition/source-map", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message-010/googlepubsub-schemaDefinition-010/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/googlepubsub-schemaDefinition/source-map/lexical/element_2" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message-010/googlepubsub-schemaDefinition-010/source-map/lexical/element_2" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/googlepubsub-schemaDefinition/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message-010/googlepubsub-schemaDefinition-010/source-map/lexical/element_0" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/googlepubsub-schemaDefinition/source-map/lexical/element_1" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message-010/googlepubsub-schemaDefinition-010/source-map/lexical/element_1" } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/source-map/lexical/element_5", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message-010/source-map/lexical/element_5", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#bindingVersion", - "http://a.ml/vocabularies/document-source-maps#value": "[(180,10)-(181,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(178,10)-(179,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/source-map/lexical/element_3", - "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/message-bindings/bindings/googlepubsub-message", - "http://a.ml/vocabularies/document-source-maps#value": "[(176,8)-(184,0)]" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message-010/source-map/lexical/element_3", + "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/message-bindings/bindings/googlepubsub-message-010", + "http://a.ml/vocabularies/document-source-maps#value": "[(174,8)-(182,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message-010/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#schemaDefinition", - "http://a.ml/vocabularies/document-source-maps#value": "[(181,10)-(184,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(179,10)-(182,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message-010/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#type", - "http://a.ml/vocabularies/document-source-maps#value": "[(176,8)-(176,20)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(174,8)-(174,20)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message-010/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#attribute", - "http://a.ml/vocabularies/document-source-maps#value": "[(177,10)-(179,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(175,10)-(177,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/source-map/lexical/element_4", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message-010/source-map/lexical/element_4", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#orderingKey", - "http://a.ml/vocabularies/document-source-maps#value": "[(179,10)-(180,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(177,10)-(178,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/marketData/payload/default/shape/schema/source-map/synthesized-field/element_1", - "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-target", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-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", "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/payload/default/shape/schema/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#element": "http://a.ml/vocabularies/document#recursive", + "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/payload/default/shape/schema/source-map/synthesized-field/element_1", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-target", "http://a.ml/vocabularies/document-source-maps#value": "true" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/marketData/payload/default/shape/schema/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#/declares/msg/marketData/payload/default/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(190,6)-(192,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(188,6)-(190,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/marketData/examples/example/default-example_2/object_1/userId/source-map", @@ -6484,17 +6478,17 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/marketData/examples/example/default-example_2/object_1/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/data#userId", - "http://a.ml/vocabularies/document-source-maps#value": "[(197,12)-(198,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(195,12)-(196,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/marketData/examples/example/default-example_2/object_1/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/data#status", - "http://a.ml/vocabularies/document-source-maps#value": "[(198,12)-(199,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(196,12)-(197,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/marketData/examples/example/default-example_2/object_1/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/msg/marketData/examples/example/default-example_2/object_1", - "http://a.ml/vocabularies/document-source-maps#value": "[(197,0)-(199,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(195,0)-(197,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/marketData/headerExamples/example/default-example_1/object_1/exampleHeader/source-map", @@ -6523,12 +6517,12 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/marketData/headerExamples/example/default-example_1/object_1/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/msg/marketData/headerExamples/example/default-example_1/object_1", - "http://a.ml/vocabularies/document-source-maps#value": "[(200,0)-(201,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(198,0)-(199,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/marketData/headerExamples/example/default-example_1/object_1/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/data#exampleHeader", - "http://a.ml/vocabularies/document-source-maps#value": "[(200,12)-(201,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(198,12)-(199,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/parameter/path/environment/scalar/environment/scalar_1/source-map/synthesized-field/element_1", @@ -6543,7 +6537,7 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/parameter/path/environment/scalar/environment/scalar_1/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#/declares/parameter/path/environment/scalar/environment/scalar_1", - "http://a.ml/vocabularies/document-source-maps#value": "[(209,15)-(209,22)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(207,15)-(207,22)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/parameter/path/version/scalar/version/scalar_1/source-map/synthesized-field/element_1", @@ -6558,56 +6552,56 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/parameter/path/version/scalar/version/scalar_1/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#/declares/parameter/path/version/scalar/version/scalar_1", - "http://a.ml/vocabularies/document-source-maps#value": "[(212,15)-(212,17)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(210,15)-(210,17)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/object_1/exampleAttribute/source-map", + "@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/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/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/object_1/exampleAttribute/source-map/synthesized-field/element_1" + "@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/source-map/synthesized-field/element_1" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/object_1/exampleAttribute/source-map/synthesized-field/element_0" + "@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/source-map/synthesized-field/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/message-bindings/bindings/googlepubsub-message/object_1/exampleAttribute/source-map/lexical/element_0" + "@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/source-map/lexical/element_0" } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/object_1/source-map/synthesized-field/element_0", + "@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/source-map/synthesized-field/element_0", "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/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/object_1/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/msg/messageAvro/message-bindings/bindings/googlepubsub-message/object_1", - "http://a.ml/vocabularies/document-source-maps#value": "[(178,0)-(179,0)]" + "@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/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/msg/messageAvro/message-bindings/bindings/googlepubsub-message-010/object_1", + "http://a.ml/vocabularies/document-source-maps#value": "[(176,0)-(177,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/object_1/source-map/lexical/element_0", + "@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/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/data#exampleAttribute", - "http://a.ml/vocabularies/document-source-maps#value": "[(178,12)-(179,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(176,12)-(177,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/googlepubsub-schemaDefinition/source-map/lexical/element_2", - "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#name", - "http://a.ml/vocabularies/document-source-maps#value": "[(182,12)-(183,0)]" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message-010/googlepubsub-schemaDefinition-010/source-map/lexical/element_2", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#type", + "http://a.ml/vocabularies/document-source-maps#value": "[(181,12)-(182,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/googlepubsub-schemaDefinition/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#type", - "http://a.ml/vocabularies/document-source-maps#value": "[(183,12)-(184,0)]" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message-010/googlepubsub-schemaDefinition-010/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": "[(180,12)-(181,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/googlepubsub-schemaDefinition/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/msg/messageAvro/message-bindings/bindings/googlepubsub-message/googlepubsub-schemaDefinition", - "http://a.ml/vocabularies/document-source-maps#value": "[(181,17)-(184,0)]" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message-010/googlepubsub-schemaDefinition-010/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/msg/messageAvro/message-bindings/bindings/googlepubsub-message-010/googlepubsub-schemaDefinition-010", + "http://a.ml/vocabularies/document-source-maps#value": "[(179,17)-(182,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/marketData/examples/example/default-example_2/object_1/userId/source-map/synthesized-field/element_1", @@ -6622,7 +6616,7 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/marketData/examples/example/default-example_2/object_1/userId/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#/declares/msg/marketData/examples/example/default-example_2/object_1/userId", - "http://a.ml/vocabularies/document-source-maps#value": "[(197,20)-(197,27)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(195,20)-(195,27)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/marketData/examples/example/default-example_2/object_1/status/source-map/synthesized-field/element_1", @@ -6637,7 +6631,7 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/marketData/examples/example/default-example_2/object_1/status/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#/declares/msg/marketData/examples/example/default-example_2/object_1/status", - "http://a.ml/vocabularies/document-source-maps#value": "[(198,20)-(198,26)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(196,20)-(196,26)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/marketData/headerExamples/example/default-example_1/object_1/exampleHeader/source-map/synthesized-field/element_1", @@ -6652,22 +6646,22 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/marketData/headerExamples/example/default-example_1/object_1/exampleHeader/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#/declares/msg/marketData/headerExamples/example/default-example_1/object_1/exampleHeader", - "http://a.ml/vocabularies/document-source-maps#value": "[(200,27)-(200,38)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(198,27)-(198,38)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/object_1/exampleAttribute/source-map/synthesized-field/element_1", + "@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/source-map/synthesized-field/element_1", "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/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/object_1/exampleAttribute/source-map/synthesized-field/element_0", + "@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/source-map/synthesized-field/element_0", "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/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/object_1/exampleAttribute/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#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/object_1/exampleAttribute", - "http://a.ml/vocabularies/document-source-maps#value": "[(178,30)-(178,42)]" + "@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/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#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message-010/object_1/exampleAttribute", + "http://a.ml/vocabularies/document-source-maps#value": "[(176,30)-(176,42)]" } ] } diff --git a/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml b/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml index 8e769dbeb1..cee25c0432 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml +++ b/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml @@ -119,15 +119,13 @@ channels: publish: bindings: solace: - bindingVersion: 0.3.0 + bindingVersion: 0.2.0 destinations: - destinationType: queue queue: name: CreatedHREvents accessType: exclusive - maxMsgSpoolSize: test - maxTtl: test topicSubscriptions: - person/*/created - 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 798aba9870..f7e4d37e5c 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 @@ -3157,9 +3157,9 @@ ], "http://a.ml/vocabularies/apiBinding#bindings": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someMessageBinding/bindings/mqtt-message", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someMessageBinding/bindings/mqtt-message-010", "@type": [ - "http://a.ml/vocabularies/apiBinding#MqttMessageBinding", + "http://a.ml/vocabularies/apiBinding#MqttMessageBinding010", "http://a.ml/vocabularies/apiBinding#MessageBinding", "http://a.ml/vocabularies/document#DomainElement" ], @@ -3175,13 +3175,13 @@ ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someMessageBinding/bindings/mqtt-message/source-map", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someMessageBinding/bindings/mqtt-message-010/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someMessageBinding/bindings/mqtt-message/source-map/lexical/element_2", + "@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": [ { "@value": "http://a.ml/vocabularies/apiBinding#bindingVersion" @@ -3194,7 +3194,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someMessageBinding/bindings/mqtt-message/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someMessageBinding/bindings/mqtt-message-010/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#type" @@ -3207,10 +3207,10 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someMessageBinding/bindings/mqtt-message/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someMessageBinding/bindings/mqtt-message-010/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/mqtt-message" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someMessageBinding/bindings/mqtt-message-010" } ], "http://a.ml/vocabularies/document-source-maps#value": [ @@ -3519,9 +3519,9 @@ ], "http://a.ml/vocabularies/apiBinding#bindings": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation-010", "@type": [ - "http://a.ml/vocabularies/apiBinding#HttpOperationBinding", + "http://a.ml/vocabularies/apiBinding#HttpOperationBinding010", "http://a.ml/vocabularies/apiBinding#OperationBinding", "http://a.ml/vocabularies/document#DomainElement" ], @@ -3537,7 +3537,7 @@ ], "http://a.ml/vocabularies/apiBinding#query": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation/shape/schema", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation-010/shape/schema", "@type": [ "http://www.w3.org/ns/shacl#NodeShape", "http://a.ml/vocabularies/shapes#AnyShape", @@ -3552,7 +3552,7 @@ ], "http://www.w3.org/ns/shacl#property": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation/shape/schema/property/property/some", + "@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", "@type": [ "http://www.w3.org/ns/shacl#PropertyShape", "http://www.w3.org/ns/shacl#Shape", @@ -3566,7 +3566,7 @@ ], "http://a.ml/vocabularies/shapes#range": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation/shape/schema/property/property/some/scalar/some", + "@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": [ "http://a.ml/vocabularies/shapes#ScalarShape", "http://a.ml/vocabularies/shapes#AnyShape", @@ -3586,16 +3586,16 @@ ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation/shape/schema/property/property/some/scalar/some/source-map", + "@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": [ "http://a.ml/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/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/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/shape/schema/property/property/some/scalar/some" + "@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": [ @@ -3607,10 +3607,10 @@ ], "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/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_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/shape/schema/property/property/some/scalar/some" + "@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": [ @@ -3620,7 +3620,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation/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/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://www.w3.org/ns/shacl#datatype" @@ -3649,13 +3649,13 @@ ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation/shape/schema/property/property/some/source-map", + "@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/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/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation/shape/schema/property/property/some/source-map/synthesized-field/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/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://www.w3.org/ns/shacl#minCount" @@ -3670,10 +3670,10 @@ ], "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/shape/schema/property/property/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/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/shape/schema/property/property/some" + "@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" } ], "http://a.ml/vocabularies/document-source-maps#value": [ @@ -3694,13 +3694,13 @@ ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation/shape/schema/source-map", + "@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": [ "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/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation/shape/schema/source-map/synthesized-field/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/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://www.w3.org/ns/shacl#closed" @@ -3715,10 +3715,10 @@ ], "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/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/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/shape/schema" + "@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": [ @@ -3728,7 +3728,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation/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_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://www.w3.org/ns/shacl#property" @@ -3743,10 +3743,10 @@ ], "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/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/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/shape/schema" + "@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": [ @@ -3772,13 +3772,13 @@ ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation/source-map", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation-010/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation/source-map/lexical/element_5", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation-010/source-map/lexical/element_5", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#bindingVersion" @@ -3791,10 +3791,10 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation/source-map/lexical/element_3", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation-010/source-map/lexical/element_3", "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" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation-010" } ], "http://a.ml/vocabularies/document-source-maps#value": [ @@ -3804,7 +3804,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation/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/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#query" @@ -3817,7 +3817,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation/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/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#type" @@ -3830,7 +3830,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation-010/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#operationType" @@ -3843,7 +3843,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation/source-map/lexical/element_4", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation-010/source-map/lexical/element_4", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#method" @@ -4207,9 +4207,9 @@ ], "http://a.ml/vocabularies/apiBinding#bindings": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someServerBinding/bindings/mqtt-server", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someServerBinding/bindings/mqtt-server-010", "@type": [ - "http://a.ml/vocabularies/apiBinding#MqttServerBinding", + "http://a.ml/vocabularies/apiBinding#MqttServerBinding010", "http://a.ml/vocabularies/apiBinding#ServerBinding", "http://a.ml/vocabularies/document#DomainElement" ], @@ -4240,13 +4240,13 @@ ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someServerBinding/bindings/mqtt-server/source-map", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someServerBinding/bindings/mqtt-server-010/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someServerBinding/bindings/mqtt-server/source-map/lexical/element_5", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someServerBinding/bindings/mqtt-server-010/source-map/lexical/element_5", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#bindingVersion" @@ -4259,10 +4259,10 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someServerBinding/bindings/mqtt-server/source-map/lexical/element_3", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someServerBinding/bindings/mqtt-server-010/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someServerBinding/bindings/mqtt-server" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someServerBinding/bindings/mqtt-server-010" } ], "http://a.ml/vocabularies/document-source-maps#value": [ @@ -4272,7 +4272,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someServerBinding/bindings/mqtt-server/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someServerBinding/bindings/mqtt-server-010/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#keepAlive" @@ -4285,7 +4285,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someServerBinding/bindings/mqtt-server/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someServerBinding/bindings/mqtt-server-010/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#type" @@ -4298,7 +4298,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someServerBinding/bindings/mqtt-server/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someServerBinding/bindings/mqtt-server-010/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#clientId" @@ -4311,7 +4311,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someServerBinding/bindings/mqtt-server/source-map/lexical/element_4", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someServerBinding/bindings/mqtt-server-010/source-map/lexical/element_4", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#cleanSession" 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 38c67b3a06..14d1b9c66c 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 @@ -1223,7 +1223,7 @@ "http://a.ml/vocabularies/core#name": "someMessageBinding", "http://a.ml/vocabularies/apiBinding#bindings": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someMessageBinding/bindings/mqtt-message" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someMessageBinding/bindings/mqtt-message-010" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someMessageBinding/bindings/kafka-message-010" @@ -1263,7 +1263,7 @@ "http://a.ml/vocabularies/core#name": "someOperationBinding", "http://a.ml/vocabularies/apiBinding#bindings": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation-010" } ], "http://a.ml/vocabularies/document-source-maps#sources": [ @@ -1337,7 +1337,7 @@ "http://a.ml/vocabularies/core#name": "someServerBinding", "http://a.ml/vocabularies/apiBinding#bindings": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someServerBinding/bindings/mqtt-server" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someServerBinding/bindings/mqtt-server-010" } ], "http://a.ml/vocabularies/document-source-maps#sources": [ @@ -1742,9 +1742,9 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someMessageBinding/bindings/mqtt-message", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someMessageBinding/bindings/mqtt-message-010", "@type": [ - "http://a.ml/vocabularies/apiBinding#MqttMessageBinding", + "http://a.ml/vocabularies/apiBinding#MqttMessageBinding010", "http://a.ml/vocabularies/apiBinding#MessageBinding", "http://a.ml/vocabularies/document#DomainElement" ], @@ -1752,7 +1752,7 @@ "http://a.ml/vocabularies/apiBinding#type": "mqtt", "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someMessageBinding/bindings/mqtt-message/source-map" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someMessageBinding/bindings/mqtt-message-010/source-map" } ] }, @@ -1815,22 +1815,22 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation-010", "@type": [ - "http://a.ml/vocabularies/apiBinding#HttpOperationBinding", + "http://a.ml/vocabularies/apiBinding#HttpOperationBinding010", "http://a.ml/vocabularies/apiBinding#OperationBinding", "http://a.ml/vocabularies/document#DomainElement" ], "http://a.ml/vocabularies/apiBinding#operationType": "request", "http://a.ml/vocabularies/apiBinding#method": "TRACE", "http://a.ml/vocabularies/apiBinding#query": { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation/shape/schema" + "@id": "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/apiBinding#bindingVersion": "31.07.92", "http://a.ml/vocabularies/apiBinding#type": "http", "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation/source-map" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation-010/source-map" } ] }, @@ -1930,9 +1930,9 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someServerBinding/bindings/mqtt-server", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someServerBinding/bindings/mqtt-server-010", "@type": [ - "http://a.ml/vocabularies/apiBinding#MqttServerBinding", + "http://a.ml/vocabularies/apiBinding#MqttServerBinding010", "http://a.ml/vocabularies/apiBinding#ServerBinding", "http://a.ml/vocabularies/document#DomainElement" ], @@ -1943,7 +1943,7 @@ "http://a.ml/vocabularies/apiBinding#type": "mqtt", "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someServerBinding/bindings/mqtt-server/source-map" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someServerBinding/bindings/mqtt-server-010/source-map" } ] }, @@ -2477,19 +2477,19 @@ "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/source-map", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someMessageBinding/bindings/mqtt-message-010/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someMessageBinding/bindings/mqtt-message/source-map/lexical/element_2" + "@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" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someMessageBinding/bindings/mqtt-message/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someMessageBinding/bindings/mqtt-message-010/source-map/lexical/element_0" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someMessageBinding/bindings/mqtt-message/source-map/lexical/element_1" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someMessageBinding/bindings/mqtt-message-010/source-map/lexical/element_1" } ] }, @@ -2567,7 +2567,7 @@ "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation/shape/schema", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation-010/shape/schema", "@type": [ "http://www.w3.org/ns/shacl#NodeShape", "http://a.ml/vocabularies/shapes#AnyShape", @@ -2578,39 +2578,39 @@ "http://www.w3.org/ns/shacl#closed": false, "http://www.w3.org/ns/shacl#property": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation/shape/schema/property/property/some" + "@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" } ], "http://www.w3.org/ns/shacl#name": "schema", "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation/shape/schema/source-map" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation-010/shape/schema/source-map" } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation/source-map", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation-010/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation/source-map/lexical/element_5" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation-010/source-map/lexical/element_5" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation/source-map/lexical/element_3" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation-010/source-map/lexical/element_3" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation/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/source-map/lexical/element_1" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation/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/source-map/lexical/element_0" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation/source-map/lexical/element_2" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation-010/source-map/lexical/element_2" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation/source-map/lexical/element_4" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation-010/source-map/lexical/element_4" } ] }, @@ -2692,28 +2692,28 @@ "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someServerBinding/bindings/mqtt-server/source-map", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someServerBinding/bindings/mqtt-server-010/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someServerBinding/bindings/mqtt-server/source-map/lexical/element_5" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someServerBinding/bindings/mqtt-server-010/source-map/lexical/element_5" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someServerBinding/bindings/mqtt-server/source-map/lexical/element_3" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someServerBinding/bindings/mqtt-server-010/source-map/lexical/element_3" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someServerBinding/bindings/mqtt-server/source-map/lexical/element_1" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someServerBinding/bindings/mqtt-server-010/source-map/lexical/element_1" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someServerBinding/bindings/mqtt-server/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someServerBinding/bindings/mqtt-server-010/source-map/lexical/element_0" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someServerBinding/bindings/mqtt-server/source-map/lexical/element_2" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someServerBinding/bindings/mqtt-server-010/source-map/lexical/element_2" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someServerBinding/bindings/mqtt-server/source-map/lexical/element_4" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someServerBinding/bindings/mqtt-server-010/source-map/lexical/element_4" } ] }, @@ -3120,18 +3120,18 @@ "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/someMessageBinding/bindings/mqtt-message/source-map/lexical/element_2", + "@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", "http://a.ml/vocabularies/document-source-maps#value": "[(73,8)-(74,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someMessageBinding/bindings/mqtt-message/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someMessageBinding/bindings/mqtt-message-010/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#type", "http://a.ml/vocabularies/document-source-maps#value": "[(72,6)-(72,10)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someMessageBinding/bindings/mqtt-message/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/bindings/mqtt-message", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someMessageBinding/bindings/mqtt-message-010/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/bindings/mqtt-message-010", "http://a.ml/vocabularies/document-source-maps#value": "[(72,6)-(74,0)]" }, { @@ -3174,7 +3174,7 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(74,6)-(77,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation/shape/schema/property/property/some", + "@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", "@type": [ "http://www.w3.org/ns/shacl#PropertyShape", "http://www.w3.org/ns/shacl#Shape", @@ -3187,67 +3187,67 @@ } ], "http://a.ml/vocabularies/shapes#range": { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation/shape/schema/property/property/some/scalar/some" + "@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" }, "http://www.w3.org/ns/shacl#minCount": 0, "http://www.w3.org/ns/shacl#name": "some", "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation/shape/schema/property/property/some/source-map" + "@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/source-map" } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation/shape/schema/source-map", + "@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": [ "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/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation/shape/schema/source-map/synthesized-field/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/synthesized-field/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/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/lexical/element_1" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation/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_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/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/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/source-map/lexical/element_5", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation-010/source-map/lexical/element_5", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#bindingVersion", "http://a.ml/vocabularies/document-source-maps#value": "[(93,8)-(94,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation/source-map/lexical/element_3", - "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", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation-010/source-map/lexical/element_3", + "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", "http://a.ml/vocabularies/document-source-maps#value": "[(92,6)-(101,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation/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/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#query", "http://a.ml/vocabularies/document-source-maps#value": "[(96,8)-(101,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation/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/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#type", "http://a.ml/vocabularies/document-source-maps#value": "[(92,6)-(92,10)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation-010/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#operationType", "http://a.ml/vocabularies/document-source-maps#value": "[(94,8)-(95,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation/source-map/lexical/element_4", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation-010/source-map/lexical/element_4", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#method", "http://a.ml/vocabularies/document-source-maps#value": "[(95,8)-(96,0)]" }, @@ -3267,32 +3267,32 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(106,6)-(108,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someServerBinding/bindings/mqtt-server/source-map/lexical/element_5", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someServerBinding/bindings/mqtt-server-010/source-map/lexical/element_5", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#bindingVersion", "http://a.ml/vocabularies/document-source-maps#value": "[(86,8)-(87,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someServerBinding/bindings/mqtt-server/source-map/lexical/element_3", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someServerBinding/bindings/mqtt-server", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someServerBinding/bindings/mqtt-server-010/source-map/lexical/element_3", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someServerBinding/bindings/mqtt-server-010", "http://a.ml/vocabularies/document-source-maps#value": "[(82,6)-(87,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someServerBinding/bindings/mqtt-server/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someServerBinding/bindings/mqtt-server-010/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#keepAlive", "http://a.ml/vocabularies/document-source-maps#value": "[(85,8)-(86,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someServerBinding/bindings/mqtt-server/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someServerBinding/bindings/mqtt-server-010/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#type", "http://a.ml/vocabularies/document-source-maps#value": "[(82,6)-(82,10)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someServerBinding/bindings/mqtt-server/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someServerBinding/bindings/mqtt-server-010/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#clientId", "http://a.ml/vocabularies/document-source-maps#value": "[(83,8)-(84,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someServerBinding/bindings/mqtt-server/source-map/lexical/element_4", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someServerBinding/bindings/mqtt-server-010/source-map/lexical/element_4", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#cleanSession", "http://a.ml/vocabularies/document-source-maps#value": "[(84,8)-(85,0)]" }, @@ -3549,7 +3549,7 @@ "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/someOperationBinding/bindings/http-operation/shape/schema/property/property/some/scalar/some", + "@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": [ "http://a.ml/vocabularies/shapes#ScalarShape", "http://a.ml/vocabularies/shapes#AnyShape", @@ -3565,44 +3565,44 @@ "http://www.w3.org/ns/shacl#name": "some", "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation/shape/schema/property/property/some/scalar/some/source-map" + "@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" } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation/shape/schema/property/property/some/source-map", + "@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/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/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation/shape/schema/property/property/some/source-map/synthesized-field/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/source-map/synthesized-field/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/shape/schema/property/property/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/source-map/lexical/element_0" } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation/shape/schema/source-map/synthesized-field/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/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/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation/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/shape/schema", + "@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", "http://a.ml/vocabularies/document-source-maps#value": "[(96,14)-(101,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation/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_0", "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/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/shape/schema", + "@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)]" }, { @@ -3739,32 +3739,32 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(31,12)-(32,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation/shape/schema/property/property/some/scalar/some/source-map", + "@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": [ "http://a.ml/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/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/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/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_1" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation/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/lexical/element_0" } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation/shape/schema/property/property/some/source-map/synthesized-field/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/source-map/synthesized-field/element_0", "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/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation/shape/schema/property/property/some/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/someOperationBinding/bindings/http-operation/shape/schema/property/property/some", + "@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/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/someOperationBinding/bindings/http-operation-010/shape/schema/property/property/some", "http://a.ml/vocabularies/document-source-maps#value": "[(99,12)-(101,0)]" }, { @@ -3817,17 +3817,17 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation/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/shape/schema/property/property/some/scalar/some", + "@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/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/shape/schema/property/property/some/scalar/some", + "@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", "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/someOperationBinding/bindings/http-operation/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/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": "[(100,14)-(101,0)]" }, 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 80aa9541f0..161e34c80e 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 @@ -69,15 +69,15 @@ ], "http://a.ml/vocabularies/apiBinding#bindings": [ { - "@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", + "@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", "@type": [ - "http://a.ml/vocabularies/apiBinding#HttpMessageBinding", + "http://a.ml/vocabularies/apiBinding#HttpMessageBinding020", "http://a.ml/vocabularies/apiBinding#MessageBinding", "http://a.ml/vocabularies/document#DomainElement" ], "http://a.ml/vocabularies/apiBinding#headers": [ { - "@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/shape/schema", + "@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", "@type": [ "http://www.w3.org/ns/shacl#NodeShape", "http://a.ml/vocabularies/shapes#AnyShape", @@ -92,7 +92,7 @@ ], "http://www.w3.org/ns/shacl#property": [ { - "@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/shape/schema/property/property/some", + "@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", "@type": [ "http://www.w3.org/ns/shacl#PropertyShape", "http://www.w3.org/ns/shacl#Shape", @@ -106,7 +106,7 @@ ], "http://a.ml/vocabularies/shapes#range": [ { - "@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/shape/schema/property/property/some/scalar/some", + "@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", "@type": [ "http://a.ml/vocabularies/shapes#ScalarShape", "http://a.ml/vocabularies/shapes#AnyShape", @@ -126,16 +126,16 @@ ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@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/shape/schema/property/property/some/scalar/some/source-map", + "@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/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/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/shape/schema/property/property/some/scalar/some" + "@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": [ @@ -147,10 +147,10 @@ ], "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/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_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/shape/schema/property/property/some/scalar/some" + "@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": [ @@ -160,7 +160,7 @@ ] }, { - "@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/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/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://www.w3.org/ns/shacl#datatype" @@ -189,13 +189,13 @@ ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@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/shape/schema/property/property/some/source-map", + "@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/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/validations/async20/http-message-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/message-bindings/bindings/http-message/shape/schema/property/property/some/source-map/synthesized-field/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/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://www.w3.org/ns/shacl#minCount" @@ -210,10 +210,10 @@ ], "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/shape/schema/property/property/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/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/shape/schema/property/property/some" + "@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" } ], "http://a.ml/vocabularies/document-source-maps#value": [ @@ -234,13 +234,13 @@ ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@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/shape/schema/source-map", + "@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": [ "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/validations/async20/http-message-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/message-bindings/bindings/http-message/shape/schema/source-map/synthesized-field/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/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://www.w3.org/ns/shacl#closed" @@ -255,10 +255,10 @@ ], "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/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/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/shape/schema" + "@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": [ @@ -268,7 +268,7 @@ ] }, { - "@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/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_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://www.w3.org/ns/shacl#property" @@ -283,10 +283,10 @@ ], "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/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/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/shape/schema" + "@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": [ @@ -312,13 +312,13 @@ ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@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/source-map", + "@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/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/validations/async20/http-message-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/message-bindings/bindings/http-message/source-map/synthesized-field/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/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#bindingVersion" @@ -333,7 +333,7 @@ ], "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/source-map/lexical/element_2", + "@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/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#headers" @@ -346,7 +346,7 @@ ] }, { - "@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/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/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#type" @@ -359,10 +359,10 @@ ] }, { - "@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/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/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" + "@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" } ], "http://a.ml/vocabularies/document-source-maps#value": [ 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 1b29f3cc89..973fe3c5cb 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 @@ -169,7 +169,7 @@ ], "http://a.ml/vocabularies/apiBinding#bindings": [ { - "@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" + "@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" } ], "http://a.ml/vocabularies/document-source-maps#sources": [ @@ -203,20 +203,20 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(9,6)-(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", + "@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", "@type": [ - "http://a.ml/vocabularies/apiBinding#HttpMessageBinding", + "http://a.ml/vocabularies/apiBinding#HttpMessageBinding020", "http://a.ml/vocabularies/apiBinding#MessageBinding", "http://a.ml/vocabularies/document#DomainElement" ], "http://a.ml/vocabularies/apiBinding#headers": { - "@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/shape/schema" + "@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" }, "http://a.ml/vocabularies/apiBinding#bindingVersion": "latest", "http://a.ml/vocabularies/apiBinding#type": "http", "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@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/source-map" + "@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/source-map" } ] }, @@ -245,7 +245,7 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(10,8)-(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/shape/schema", + "@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", "@type": [ "http://www.w3.org/ns/shacl#NodeShape", "http://a.ml/vocabularies/shapes#AnyShape", @@ -256,35 +256,35 @@ "http://www.w3.org/ns/shacl#closed": false, "http://www.w3.org/ns/shacl#property": [ { - "@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/shape/schema/property/property/some" + "@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" } ], "http://www.w3.org/ns/shacl#name": "schema", "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@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/shape/schema/source-map" + "@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" } ] }, { - "@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/source-map", + "@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/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/validations/async20/http-message-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/message-bindings/bindings/http-message/source-map/synthesized-field/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/source-map/synthesized-field/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/source-map/lexical/element_2" + "@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/source-map/lexical/element_2" }, { - "@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/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/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/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/source-map/lexical/element_1" } ] }, @@ -299,7 +299,7 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(11,0)-(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/shape/schema/property/property/some", + "@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", "@type": [ "http://www.w3.org/ns/shacl#PropertyShape", "http://www.w3.org/ns/shacl#Shape", @@ -312,62 +312,62 @@ } ], "http://a.ml/vocabularies/shapes#range": { - "@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/shape/schema/property/property/some/scalar/some" + "@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" }, "http://www.w3.org/ns/shacl#minCount": 0, "http://www.w3.org/ns/shacl#name": "some", "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@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/shape/schema/property/property/some/source-map" + "@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/source-map" } ] }, { - "@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/shape/schema/source-map", + "@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": [ "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/validations/async20/http-message-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/message-bindings/bindings/http-message/shape/schema/source-map/synthesized-field/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/synthesized-field/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/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/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/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_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/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/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/source-map/synthesized-field/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/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#bindingVersion", "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/source-map/lexical/element_2", + "@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/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#headers", "http://a.ml/vocabularies/document-source-maps#value": "[(12,12)-(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/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/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#type", "http://a.ml/vocabularies/document-source-maps#value": "[(11,10)-(11,14)]" }, { - "@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/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", + "@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/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", "http://a.ml/vocabularies/document-source-maps#value": "[(11,10)-(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/shape/schema/property/property/some/scalar/some", + "@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", "@type": [ "http://a.ml/vocabularies/shapes#ScalarShape", "http://a.ml/vocabularies/shapes#AnyShape", @@ -383,87 +383,87 @@ "http://www.w3.org/ns/shacl#name": "some", "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@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/shape/schema/property/property/some/scalar/some/source-map" + "@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" } ] }, { - "@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/shape/schema/property/property/some/source-map", + "@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/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/validations/async20/http-message-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/message-bindings/bindings/http-message/shape/schema/property/property/some/source-map/synthesized-field/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/source-map/synthesized-field/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/shape/schema/property/property/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/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/shape/schema/source-map/synthesized-field/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/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/http-message-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/message-bindings/bindings/http-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/http-message-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/message-bindings/bindings/http-message/shape/schema", + "@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", "http://a.ml/vocabularies/document-source-maps#value": "[(12,20)-(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/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_0", "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/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/shape/schema", + "@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/shape/schema/property/property/some/scalar/some/source-map", + "@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/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/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/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_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/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/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/shape/schema/property/property/some/source-map/synthesized-field/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/source-map/synthesized-field/element_0", "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/validations/async20/http-message-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/message-bindings/bindings/http-message/shape/schema/property/property/some/source-map/lexical/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/shape/schema/property/property/some", + "@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/source-map/lexical/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", "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/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/shape/schema/property/property/some/scalar/some", + "@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/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/shape/schema/property/property/some/scalar/some", + "@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", "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/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/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,18)-(16,30)]" }, 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 d8a6232b46..03a2e22591 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 @@ -60,9 +60,9 @@ ], "http://a.ml/vocabularies/apiBinding#bindings": [ { - "@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", + "@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", "@type": [ - "http://a.ml/vocabularies/apiBinding#HttpOperationBinding", + "http://a.ml/vocabularies/apiBinding#HttpOperationBinding010", "http://a.ml/vocabularies/apiBinding#OperationBinding", "http://a.ml/vocabularies/document#DomainElement" ], @@ -78,7 +78,7 @@ ], "http://a.ml/vocabularies/apiBinding#query": [ { - "@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/shape/schema", + "@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", "@type": [ "http://www.w3.org/ns/shacl#NodeShape", "http://a.ml/vocabularies/shapes#AnyShape", @@ -93,7 +93,7 @@ ], "http://www.w3.org/ns/shacl#property": [ { - "@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/shape/schema/property/property/some", + "@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", "@type": [ "http://www.w3.org/ns/shacl#PropertyShape", "http://www.w3.org/ns/shacl#Shape", @@ -107,7 +107,7 @@ ], "http://a.ml/vocabularies/shapes#range": [ { - "@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/shape/schema/property/property/some/scalar/some", + "@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", "@type": [ "http://a.ml/vocabularies/shapes#ScalarShape", "http://a.ml/vocabularies/shapes#AnyShape", @@ -127,16 +127,16 @@ ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@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/shape/schema/property/property/some/scalar/some/source-map", + "@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/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/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/shape/schema/property/property/some/scalar/some" + "@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": [ @@ -148,10 +148,10 @@ ], "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/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_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/shape/schema/property/property/some/scalar/some" + "@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": [ @@ -161,7 +161,7 @@ ] }, { - "@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/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/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://www.w3.org/ns/shacl#datatype" @@ -190,13 +190,13 @@ ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@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/shape/schema/property/property/some/source-map", + "@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/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/validations/async20/http-operation-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/http-operation/shape/schema/property/property/some/source-map/synthesized-field/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/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://www.w3.org/ns/shacl#minCount" @@ -211,10 +211,10 @@ ], "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/shape/schema/property/property/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/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/shape/schema/property/property/some" + "@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" } ], "http://a.ml/vocabularies/document-source-maps#value": [ @@ -235,13 +235,13 @@ ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@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/shape/schema/source-map", + "@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": [ "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/validations/async20/http-operation-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/http-operation/shape/schema/source-map/synthesized-field/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/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://www.w3.org/ns/shacl#closed" @@ -256,10 +256,10 @@ ], "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/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/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/shape/schema" + "@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": [ @@ -269,7 +269,7 @@ ] }, { - "@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/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_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://www.w3.org/ns/shacl#property" @@ -284,10 +284,10 @@ ], "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/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/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/shape/schema" + "@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": [ @@ -303,7 +303,7 @@ ], "http://a.ml/vocabularies/apiBinding#bindingVersion": [ { - "@value": "31.07.92" + "@value": "0.1.0" } ], "http://a.ml/vocabularies/apiBinding#type": [ @@ -313,13 +313,13 @@ ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@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/source-map", + "@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/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/http-operation-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/http-operation/source-map/lexical/element_5", + "@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/source-map/lexical/element_5", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#bindingVersion" @@ -332,10 +332,10 @@ ] }, { - "@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/source-map/lexical/element_3", + "@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/source-map/lexical/element_3", "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" + "@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" } ], "http://a.ml/vocabularies/document-source-maps#value": [ @@ -345,7 +345,7 @@ ] }, { - "@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/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/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#query" @@ -358,7 +358,7 @@ ] }, { - "@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/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/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#type" @@ -371,7 +371,7 @@ ] }, { - "@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/source-map/lexical/element_2", + "@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/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#operationType" @@ -384,7 +384,7 @@ ] }, { - "@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/source-map/lexical/element_4", + "@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/source-map/lexical/element_4", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#method" 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 7719109f56..dcae2b410d 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 @@ -126,7 +126,7 @@ ], "http://a.ml/vocabularies/apiBinding#bindings": [ { - "@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" + "@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" } ], "http://a.ml/vocabularies/document-source-maps#sources": [ @@ -160,22 +160,22 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(8,0)-(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", + "@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", "@type": [ - "http://a.ml/vocabularies/apiBinding#HttpOperationBinding", + "http://a.ml/vocabularies/apiBinding#HttpOperationBinding010", "http://a.ml/vocabularies/apiBinding#OperationBinding", "http://a.ml/vocabularies/document#DomainElement" ], "http://a.ml/vocabularies/apiBinding#operationType": "request", "http://a.ml/vocabularies/apiBinding#method": "TRACE", "http://a.ml/vocabularies/apiBinding#query": { - "@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/shape/schema" + "@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" }, - "http://a.ml/vocabularies/apiBinding#bindingVersion": "31.07.92", + "http://a.ml/vocabularies/apiBinding#bindingVersion": "0.1.0", "http://a.ml/vocabularies/apiBinding#type": "http", "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@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/source-map" + "@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/source-map" } ] }, @@ -204,7 +204,7 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(9,6)-(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/shape/schema", + "@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", "@type": [ "http://www.w3.org/ns/shacl#NodeShape", "http://a.ml/vocabularies/shapes#AnyShape", @@ -215,39 +215,39 @@ "http://www.w3.org/ns/shacl#closed": false, "http://www.w3.org/ns/shacl#property": [ { - "@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/shape/schema/property/property/some" + "@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" } ], "http://www.w3.org/ns/shacl#name": "schema", "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@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/shape/schema/source-map" + "@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" } ] }, { - "@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/source-map", + "@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/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/http-operation-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/http-operation/source-map/lexical/element_5" + "@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/source-map/lexical/element_5" }, { - "@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/source-map/lexical/element_3" + "@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/source-map/lexical/element_3" }, { - "@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/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/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/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/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/source-map/lexical/element_2" + "@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/source-map/lexical/element_2" }, { - "@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/source-map/lexical/element_4" + "@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/source-map/lexical/element_4" } ] }, @@ -262,7 +262,7 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(10,0)-(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/shape/schema/property/property/some", + "@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", "@type": [ "http://www.w3.org/ns/shacl#PropertyShape", "http://www.w3.org/ns/shacl#Shape", @@ -275,72 +275,72 @@ } ], "http://a.ml/vocabularies/shapes#range": { - "@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/shape/schema/property/property/some/scalar/some" + "@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" }, "http://www.w3.org/ns/shacl#minCount": 0, "http://www.w3.org/ns/shacl#name": "some", "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@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/shape/schema/property/property/some/source-map" + "@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/source-map" } ] }, { - "@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/shape/schema/source-map", + "@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": [ "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/validations/async20/http-operation-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/http-operation/shape/schema/source-map/synthesized-field/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/synthesized-field/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/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/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/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_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/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/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/source-map/lexical/element_5", + "@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/source-map/lexical/element_5", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#bindingVersion", "http://a.ml/vocabularies/document-source-maps#value": "[(11,10)-(12,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/source-map/lexical/element_3", - "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", + "@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/source-map/lexical/element_3", + "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", "http://a.ml/vocabularies/document-source-maps#value": "[(10,8)-(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/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/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#query", "http://a.ml/vocabularies/document-source-maps#value": "[(14,10)-(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/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/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#type", "http://a.ml/vocabularies/document-source-maps#value": "[(10,8)-(10,12)]" }, { - "@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/source-map/lexical/element_2", + "@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/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#operationType", "http://a.ml/vocabularies/document-source-maps#value": "[(12,10)-(13,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/source-map/lexical/element_4", + "@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/source-map/lexical/element_4", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#method", "http://a.ml/vocabularies/document-source-maps#value": "[(13,10)-(14,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/shape/schema/property/property/some/scalar/some", + "@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", "@type": [ "http://a.ml/vocabularies/shapes#ScalarShape", "http://a.ml/vocabularies/shapes#AnyShape", @@ -356,87 +356,87 @@ "http://www.w3.org/ns/shacl#name": "some", "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@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/shape/schema/property/property/some/scalar/some/source-map" + "@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" } ] }, { - "@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/shape/schema/property/property/some/source-map", + "@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/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/validations/async20/http-operation-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/http-operation/shape/schema/property/property/some/source-map/synthesized-field/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/source-map/synthesized-field/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/shape/schema/property/property/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/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/shape/schema/source-map/synthesized-field/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/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/http-operation-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/http-operation/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/shape/schema", + "@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", "http://a.ml/vocabularies/document-source-maps#value": "[(14,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/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_0", "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/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/shape/schema", + "@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/shape/schema/property/property/some/scalar/some/source-map", + "@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/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/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/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_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/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/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/shape/schema/property/property/some/source-map/synthesized-field/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/source-map/synthesized-field/element_0", "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/validations/async20/http-operation-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/http-operation/shape/schema/property/property/some/source-map/lexical/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/shape/schema/property/property/some", + "@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/source-map/lexical/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", "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/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/shape/schema/property/property/some/scalar/some", + "@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/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/shape/schema/property/property/some/scalar/some", + "@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", "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/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/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,16)-(18,28)]" }, diff --git a/amf-cli/shared/src/test/resources/validations/async20/http-operation-binding.yaml b/amf-cli/shared/src/test/resources/validations/async20/http-operation-binding.yaml index 71bf4c404b..fd406edbee 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/http-operation-binding.yaml +++ b/amf-cli/shared/src/test/resources/validations/async20/http-operation-binding.yaml @@ -8,7 +8,7 @@ channels: publish: bindings: http: - bindingVersion: 31.07.92 + bindingVersion: 0.1.0 type: request method: TRACE query: 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 a7578f7377..40f168d995 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 @@ -69,15 +69,15 @@ ], "http://a.ml/vocabularies/apiBinding#bindings": [ { - "@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/bindings/mqtt-message", + "@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/bindings/mqtt-message-010", "@type": [ - "http://a.ml/vocabularies/apiBinding#MqttMessageBinding", + "http://a.ml/vocabularies/apiBinding#MqttMessageBinding010", "http://a.ml/vocabularies/apiBinding#MessageBinding", "http://a.ml/vocabularies/document#DomainElement" ], "http://a.ml/vocabularies/apiBinding#bindingVersion": [ { - "@value": "31.07.92" + "@value": "0.1.0" } ], "http://a.ml/vocabularies/apiBinding#type": [ @@ -87,13 +87,13 @@ ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@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/bindings/mqtt-message/source-map", + "@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/bindings/mqtt-message-010/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/message-bindings/bindings/mqtt-message/source-map/lexical/element_2", + "@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/bindings/mqtt-message-010/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#bindingVersion" @@ -101,12 +101,12 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(12,12)-(12,36)]" + "@value": "[(12,12)-(14,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/bindings/mqtt-message/source-map/lexical/element_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/bindings/mqtt-message-010/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#type" @@ -119,15 +119,15 @@ ] }, { - "@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/bindings/mqtt-message/source-map/lexical/element_1", + "@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/bindings/mqtt-message-010/source-map/lexical/element_1", "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/supportedOperation/publish/expects/request/message-bindings/bindings/mqtt-message" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/message-bindings/bindings/mqtt-message-010" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(11,10)-(12,36)]" + "@value": "[(11,10)-(14,0)]" } ] } @@ -152,7 +152,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(11,0)-(12,36)]" + "@value": "[(11,0)-(14,0)]" } ] }, @@ -165,7 +165,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(11,0)-(12,36)]" + "@value": "[(11,0)-(14,0)]" } ] } @@ -190,7 +190,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(10,0)-(12,36)]" + "@value": "[(10,0)-(14,0)]" } ] }, @@ -203,7 +203,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(10,8)-(12,36)]" + "@value": "[(10,8)-(14,0)]" } ] } @@ -228,7 +228,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(8,4)-(12,36)]" + "@value": "[(8,4)-(14,0)]" } ] }, @@ -241,7 +241,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,6)-(12,36)]" + "@value": "[(9,6)-(14,0)]" } ] } @@ -266,7 +266,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,2)-(12,36)]" + "@value": "[(7,2)-(14,0)]" } ] }, @@ -279,7 +279,761 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(8,0)-(12,36)]" + "@value": "[(8,0)-(14,0)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/other-channel", + "@type": [ + "http://a.ml/vocabularies/apiContract#EndPoint", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/apiContract#path": [ + { + "@value": "other-channel" + } + ], + "http://a.ml/vocabularies/apiContract#supportedOperation": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/other-channel/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/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/other-channel/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/apiBinding#binding": [ + { + "@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", + "@type": [ + "http://a.ml/vocabularies/apiBinding#MessageBindings", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/apiBinding#bindings": [ + { + "@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", + "@type": [ + "http://a.ml/vocabularies/apiBinding#MqttMessageBinding020", + "http://a.ml/vocabularies/apiBinding#MessageBinding", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/apiBinding#payloadFormatIndicator": [ + { + "@value": 0 + } + ], + "http://a.ml/vocabularies/apiBinding#correlationData": [ + { + "@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", + "@type": [ + "http://a.ml/vocabularies/shapes#ScalarShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://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/shapes#format": [ + { + "@value": "uuid" + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@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": [ + "http://a.ml/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", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "http://www.w3.org/ns/shacl#datatype" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(21,14)-(22,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/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "http://a.ml/vocabularies/shapes#format" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(22,14)-(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/lexical/element_1", + "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": "[(20,28)-(23,0)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/apiBinding#contentType": [ + { + "@value": "application/json" + } + ], + "http://a.ml/vocabularies/apiBinding#responseTopic": [ + { + "@value": "response/client" + } + ], + "http://a.ml/vocabularies/apiBinding#bindingVersion": [ + { + "@value": "0.2.0" + } + ], + "http://a.ml/vocabularies/apiBinding#type": [ + { + "@value": "mqtt" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@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/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/other-channel/supportedOperation/publish/expects/request/message-bindings/bindings/mqtt-message-020/source-map/lexical/element_6", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "http://a.ml/vocabularies/apiBinding#bindingVersion" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(25,12)-(27,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/source-map/lexical/element_4", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "http://a.ml/vocabularies/apiBinding#payloadFormatIndicator" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(19,12)-(20,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/source-map/lexical/element_2", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "http://a.ml/vocabularies/apiBinding#correlationData" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(20,12)-(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/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "http://a.ml/vocabularies/apiBinding#type" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(18,10)-(18,14)]" + } + ] + }, + { + "@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/source-map/lexical/element_1", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "http://a.ml/vocabularies/apiBinding#responseTopic" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(24,12)-(25,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/source-map/lexical/element_3", + "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" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(18,10)-(27,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/source-map/lexical/element_5", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "http://a.ml/vocabularies/apiBinding#contentType" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(23,12)-(24,0)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@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/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/other-channel/supportedOperation/publish/expects/request/message-bindings/source-map/lexical/element_1", + "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" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(18,0)-(27,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/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "http://a.ml/vocabularies/apiBinding#bindings" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(18,0)-(27,0)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/other-channel/supportedOperation/publish/expects/request/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/other-channel/supportedOperation/publish/expects/request/source-map/lexical/element_1", + "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" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(17,0)-(27,0)]" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/other-channel/supportedOperation/publish/expects/request/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "http://a.ml/vocabularies/apiBinding#binding" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(17,8)-(27,0)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/other-channel/supportedOperation/publish/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/other-channel/supportedOperation/publish/source-map/lexical/element_1", + "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" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(15,4)-(27,0)]" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/other-channel/supportedOperation/publish/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "http://a.ml/vocabularies/apiContract#expects" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(16,6)-(27,0)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/other-channel/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/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/mqtt-message-binding.yaml#/async-api/endpoint/other-channel" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@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/lexical/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": "[(15,0)-(27,0)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/some-other-channel", + "@type": [ + "http://a.ml/vocabularies/apiContract#EndPoint", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/apiContract#path": [ + { + "@value": "some-other-channel" + } + ], + "http://a.ml/vocabularies/apiContract#supportedOperation": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/some-other-channel/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/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/some-other-channel/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/apiBinding#binding": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/some-other-channel/supportedOperation/publish/expects/request/message-bindings", + "@type": [ + "http://a.ml/vocabularies/apiBinding#MessageBindings", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/apiBinding#bindings": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/some-other-channel/supportedOperation/publish/expects/request/message-bindings/bindings/mqtt-message-020", + "@type": [ + "http://a.ml/vocabularies/apiBinding#MqttMessageBinding020", + "http://a.ml/vocabularies/apiBinding#MessageBinding", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/apiBinding#payloadFormatIndicator": [ + { + "@value": 1 + } + ], + "http://a.ml/vocabularies/apiBinding#correlationData": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/declares/shape/testSchema/link-1711747283", + "@type": [ + "http://www.w3.org/ns/shacl#NodeShape", + "http://a.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/validations/async20/mqtt-message-binding.yaml#/declares/shape/testSchema" + } + ], + "http://a.ml/vocabularies/document#link-label": [ + { + "@value": "testSchema" + } + ] + } + ], + "http://a.ml/vocabularies/apiBinding#contentType": [ + { + "@value": "application/json" + } + ], + "http://a.ml/vocabularies/apiBinding#responseTopic": [ + { + "@value": "response/client" + } + ], + "http://a.ml/vocabularies/apiBinding#bindingVersion": [ + { + "@value": "0.2.0" + } + ], + "http://a.ml/vocabularies/apiBinding#type": [ + { + "@value": "mqtt" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/some-other-channel/supportedOperation/publish/expects/request/message-bindings/bindings/mqtt-message-020/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/some-other-channel/supportedOperation/publish/expects/request/message-bindings/bindings/mqtt-message-020/source-map/lexical/element_5", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "http://a.ml/vocabularies/apiBinding#bindingVersion" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(37,12)-(39,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/message-bindings/bindings/mqtt-message-020/source-map/lexical/element_3", + "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/supportedOperation/publish/expects/request/message-bindings/bindings/mqtt-message-020" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(31,10)-(39,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/message-bindings/bindings/mqtt-message-020/source-map/lexical/element_1", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "http://a.ml/vocabularies/apiBinding#responseTopic" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(36,12)-(37,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/message-bindings/bindings/mqtt-message-020/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "http://a.ml/vocabularies/apiBinding#type" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(31,10)-(31,14)]" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/some-other-channel/supportedOperation/publish/expects/request/message-bindings/bindings/mqtt-message-020/source-map/lexical/element_2", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "http://a.ml/vocabularies/apiBinding#payloadFormatIndicator" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(32,12)-(33,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/message-bindings/bindings/mqtt-message-020/source-map/lexical/element_4", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "http://a.ml/vocabularies/apiBinding#contentType" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(35,12)-(36,0)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/some-other-channel/supportedOperation/publish/expects/request/message-bindings/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/some-other-channel/supportedOperation/publish/expects/request/message-bindings/source-map/lexical/element_1", + "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/supportedOperation/publish/expects/request/message-bindings" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(31,0)-(39,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/message-bindings/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "http://a.ml/vocabularies/apiBinding#bindings" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(31,0)-(39,0)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/some-other-channel/supportedOperation/publish/expects/request/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/some-other-channel/supportedOperation/publish/expects/request/source-map/lexical/element_1", + "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/supportedOperation/publish/expects/request" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(30,0)-(39,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/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "http://a.ml/vocabularies/apiBinding#binding" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(30,8)-(39,0)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/some-other-channel/supportedOperation/publish/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/some-other-channel/supportedOperation/publish/source-map/lexical/element_1", + "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/supportedOperation/publish" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(28,4)-(39,0)]" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/some-other-channel/supportedOperation/publish/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "http://a.ml/vocabularies/apiContract#expects" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(29,6)-(39,0)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/some-other-channel/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.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/mqtt-message-binding.yaml#/async-api/endpoint/some-other-channel" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@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/lexical/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": "[(28,0)-(39,0)]" } ] } @@ -330,7 +1084,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(6,0)-(12,36)]" + "@value": "[(6,0)-(39,0)]" } ] }, @@ -343,7 +1097,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(1,0)-(12,36)]" + "@value": "[(1,0)-(46,55)]" } ] } @@ -374,6 +1128,277 @@ } ] } + ], + "http://a.ml/vocabularies/document#declares": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/declares/shape/testSchema", + "@type": [ + "http://www.w3.org/ns/shacl#NodeShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://www.w3.org/ns/shacl#closed": [ + { + "@value": false + } + ], + "http://www.w3.org/ns/shacl#property": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/declares/shape/testSchema/property/property/eventID", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://www.w3.org/ns/shacl#path": [ + { + "@id": "http://a.ml/vocabularies/data#eventID" + } + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/declares/shape/testSchema/property/property/eventID/scalar/eventID", + "@type": [ + "http://a.ml/vocabularies/shapes#ScalarShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://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": "eventID" + } + ], + "http://a.ml/vocabularies/core#description": [ + { + "@value": "Unique identifier for the event." + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@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#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", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "http://www.w3.org/ns/shacl#datatype" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(45,10)-(46,0)]" + } + ] + }, + { + "@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_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "http://a.ml/vocabularies/core#description" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(46,10)-(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/lexical/element_1", + "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": "[(44,8)-(46,55)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#minCount": [ + { + "@value": 0 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "eventID" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/declares/shape/testSchema/property/property/eventID/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/validations/async20/mqtt-message-binding.yaml#/declares/shape/testSchema/property/property/eventID/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "http://www.w3.org/ns/shacl#minCount" + } + ], + "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/async20/mqtt-message-binding.yaml#/declares/shape/testSchema/property/property/eventID/source-map/lexical/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" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(44,8)-(46,55)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "testSchema" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/declares/shape/testSchema/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/validations/async20/mqtt-message-binding.yaml#/declares/shape/testSchema/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "http://www.w3.org/ns/shacl#closed" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "true" + } + ] + } + ], + "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/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" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(42,6)-(42,10)]" + } + ] + } + ], + "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", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "http://www.w3.org/ns/shacl#property" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(43,6)-(46,55)]" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/declares/shape/testSchema/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "http://www.w3.org/ns/shacl#name" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(41,4)-(41,14)]" + } + ] + }, + { + "@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#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": "[(41,4)-(46,55)]" + } + ] + } + ], + "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 00a0c86dfb..aa748bd110 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 @@ -21,6 +21,12 @@ "http://a.ml/vocabularies/apiContract#endpoint": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/some-channel" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/other-channel" + }, + { + "@id": "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#sources": [ @@ -47,6 +53,42 @@ } ] }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/other-channel", + "@type": [ + "http://a.ml/vocabularies/apiContract#EndPoint", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/apiContract#path": "other-channel", + "http://a.ml/vocabularies/apiContract#supportedOperation": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/other-channel/supportedOperation/publish" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/other-channel/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/some-other-channel", + "@type": [ + "http://a.ml/vocabularies/apiContract#EndPoint", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/apiContract#path": "some-other-channel", + "http://a.ml/vocabularies/apiContract#supportedOperation": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/some-other-channel/supportedOperation/publish" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/some-other-channel/source-map" + } + ] + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/source-map", "@type": [ @@ -100,6 +142,72 @@ } ] }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/other-channel/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": "publish", + "http://a.ml/vocabularies/apiContract#expects": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/other-channel/supportedOperation/publish/expects/request" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/other-channel/supportedOperation/publish/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/other-channel/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/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/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/some-other-channel/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": "publish", + "http://a.ml/vocabularies/apiContract#expects": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/some-other-channel/supportedOperation/publish/expects/request" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/some-other-channel/supportedOperation/publish/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/some-other-channel/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/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/lexical/element_0" + } + ] + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#version", @@ -113,12 +221,12 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#endpoint", - "http://a.ml/vocabularies/document-source-maps#value": "[(6,0)-(12,36)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(6,0)-(39,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api", - "http://a.ml/vocabularies/document-source-maps#value": "[(1,0)-(12,36)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(1,0)-(46,55)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request", @@ -154,12 +262,94 @@ { "@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)-(12,36)]" + "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/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,36)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(8,0)-(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", + "@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/apiBinding#binding": { + "@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" + }, + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/other-channel/supportedOperation/publish/expects/request/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/other-channel/supportedOperation/publish/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/other-channel/supportedOperation/publish/source-map/lexical/element_1" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/other-channel/supportedOperation/publish/source-map/lexical/element_0" + } + ] + }, + { + "@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/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)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/some-other-channel/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/apiBinding#binding": { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/some-other-channel/supportedOperation/publish/expects/request/message-bindings" + }, + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/some-other-channel/supportedOperation/publish/expects/request/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/some-other-channel/supportedOperation/publish/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/some-other-channel/supportedOperation/publish/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/supportedOperation/publish/source-map/lexical/element_0" + } + ] + }, + { + "@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/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)]" }, { "@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", @@ -169,7 +359,7 @@ ], "http://a.ml/vocabularies/apiBinding#bindings": [ { - "@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/bindings/mqtt-message" + "@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/bindings/mqtt-message-010" } ], "http://a.ml/vocabularies/document-source-maps#sources": [ @@ -195,25 +385,107 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/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/supportedOperation/publish", - "http://a.ml/vocabularies/document-source-maps#value": "[(8,4)-(12,36)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(8,4)-(14,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#expects", - "http://a.ml/vocabularies/document-source-maps#value": "[(9,6)-(12,36)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(9,6)-(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/message-bindings", + "@type": [ + "http://a.ml/vocabularies/apiBinding#MessageBindings", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/apiBinding#bindings": [ + { + "@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" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@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/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/other-channel/supportedOperation/publish/expects/request/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/other-channel/supportedOperation/publish/expects/request/source-map/lexical/element_1" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/other-channel/supportedOperation/publish/expects/request/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/other-channel/supportedOperation/publish/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/supportedOperation/publish", + "http://a.ml/vocabularies/document-source-maps#value": "[(15,4)-(27,0)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/other-channel/supportedOperation/publish/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#expects", + "http://a.ml/vocabularies/document-source-maps#value": "[(16,6)-(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/message-bindings", + "@type": [ + "http://a.ml/vocabularies/apiBinding#MessageBindings", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/apiBinding#bindings": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/some-other-channel/supportedOperation/publish/expects/request/message-bindings/bindings/mqtt-message-020" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/some-other-channel/supportedOperation/publish/expects/request/message-bindings/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/some-other-channel/supportedOperation/publish/expects/request/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/some-other-channel/supportedOperation/publish/expects/request/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/supportedOperation/publish/expects/request/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/some-other-channel/supportedOperation/publish/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/supportedOperation/publish", + "http://a.ml/vocabularies/document-source-maps#value": "[(28,4)-(39,0)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/some-other-channel/supportedOperation/publish/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#expects", + "http://a.ml/vocabularies/document-source-maps#value": "[(29,6)-(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/bindings/mqtt-message", + "@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/bindings/mqtt-message-010", "@type": [ - "http://a.ml/vocabularies/apiBinding#MqttMessageBinding", + "http://a.ml/vocabularies/apiBinding#MqttMessageBinding010", "http://a.ml/vocabularies/apiBinding#MessageBinding", "http://a.ml/vocabularies/document#DomainElement" ], - "http://a.ml/vocabularies/apiBinding#bindingVersion": "31.07.92", + "http://a.ml/vocabularies/apiBinding#bindingVersion": "0.1.0", "http://a.ml/vocabularies/apiBinding#type": "mqtt", "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@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/bindings/mqtt-message/source-map" + "@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/bindings/mqtt-message-010/source-map" } ] }, @@ -234,57 +506,562 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/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/supportedOperation/publish/expects/request", - "http://a.ml/vocabularies/document-source-maps#value": "[(10,0)-(12,36)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(10,0)-(14,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/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": "[(10,8)-(12,36)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(10,8)-(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/message-bindings/bindings/mqtt-message-020", + "@type": [ + "http://a.ml/vocabularies/apiBinding#MqttMessageBinding020", + "http://a.ml/vocabularies/apiBinding#MessageBinding", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/apiBinding#payloadFormatIndicator": 0, + "http://a.ml/vocabularies/apiBinding#correlationData": { + "@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" + }, + "http://a.ml/vocabularies/apiBinding#contentType": "application/json", + "http://a.ml/vocabularies/apiBinding#responseTopic": "response/client", + "http://a.ml/vocabularies/apiBinding#bindingVersion": "0.2.0", + "http://a.ml/vocabularies/apiBinding#type": "mqtt", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@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/source-map" + } + ] + }, + { + "@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/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/other-channel/supportedOperation/publish/expects/request/message-bindings/source-map/lexical/element_1" + }, + { + "@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/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/other-channel/supportedOperation/publish/expects/request/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/supportedOperation/publish/expects/request", + "http://a.ml/vocabularies/document-source-maps#value": "[(17,0)-(27,0)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/other-channel/supportedOperation/publish/expects/request/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": "[(17,8)-(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/message-bindings/bindings/mqtt-message-020", + "@type": [ + "http://a.ml/vocabularies/apiBinding#MqttMessageBinding020", + "http://a.ml/vocabularies/apiBinding#MessageBinding", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/apiBinding#payloadFormatIndicator": 1, + "http://a.ml/vocabularies/apiBinding#correlationData": { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/declares/shape/testSchema" + }, + "http://a.ml/vocabularies/apiBinding#contentType": "application/json", + "http://a.ml/vocabularies/apiBinding#responseTopic": "response/client", + "http://a.ml/vocabularies/apiBinding#bindingVersion": "0.2.0", + "http://a.ml/vocabularies/apiBinding#type": "mqtt", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/some-other-channel/supportedOperation/publish/expects/request/message-bindings/bindings/mqtt-message-020/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/some-other-channel/supportedOperation/publish/expects/request/message-bindings/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/some-other-channel/supportedOperation/publish/expects/request/message-bindings/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/supportedOperation/publish/expects/request/message-bindings/source-map/lexical/element_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/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/supportedOperation/publish/expects/request", + "http://a.ml/vocabularies/document-source-maps#value": "[(30,0)-(39,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/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": "[(30,8)-(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/bindings/mqtt-message/source-map", + "@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/bindings/mqtt-message-010/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/message-bindings/bindings/mqtt-message/source-map/lexical/element_2" + "@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/bindings/mqtt-message-010/source-map/lexical/element_2" }, { - "@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/bindings/mqtt-message/source-map/lexical/element_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/bindings/mqtt-message-010/source-map/lexical/element_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/bindings/mqtt-message/source-map/lexical/element_1" + "@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/bindings/mqtt-message-010/source-map/lexical/element_1" } ] }, { "@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/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/supportedOperation/publish/expects/request/message-bindings", - "http://a.ml/vocabularies/document-source-maps#value": "[(11,0)-(12,36)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(11,0)-(14,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/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#bindings", - "http://a.ml/vocabularies/document-source-maps#value": "[(11,0)-(12,36)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(11,0)-(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/message-bindings/bindings/mqtt-message-020/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://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/shapes#format": "uuid", + "http://www.w3.org/ns/shacl#name": "schema", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@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" + } + ] + }, + { + "@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/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/other-channel/supportedOperation/publish/expects/request/message-bindings/bindings/mqtt-message-020/source-map/lexical/element_6" + }, + { + "@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/source-map/lexical/element_4" + }, + { + "@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/source-map/lexical/element_2" + }, + { + "@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/source-map/lexical/element_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/source-map/lexical/element_1" + }, + { + "@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/source-map/lexical/element_3" + }, + { + "@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/source-map/lexical/element_5" + } + ] + }, + { + "@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/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/supportedOperation/publish/expects/request/message-bindings", + "http://a.ml/vocabularies/document-source-maps#value": "[(18,0)-(27,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/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#bindings", + "http://a.ml/vocabularies/document-source-maps#value": "[(18,0)-(27,0)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/declares/shape/testSchema", + "@type": [ + "http://www.w3.org/ns/shacl#NodeShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://www.w3.org/ns/shacl#closed": false, + "http://www.w3.org/ns/shacl#property": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/declares/shape/testSchema/property/property/eventID" + } + ], + "http://www.w3.org/ns/shacl#name": "testSchema", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/declares/shape/testSchema/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/some-other-channel/supportedOperation/publish/expects/request/message-bindings/bindings/mqtt-message-020/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/some-other-channel/supportedOperation/publish/expects/request/message-bindings/bindings/mqtt-message-020/source-map/lexical/element_6" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/some-other-channel/supportedOperation/publish/expects/request/message-bindings/bindings/mqtt-message-020/source-map/lexical/element_4" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/some-other-channel/supportedOperation/publish/expects/request/message-bindings/bindings/mqtt-message-020/source-map/lexical/element_2" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/some-other-channel/supportedOperation/publish/expects/request/message-bindings/bindings/mqtt-message-020/source-map/lexical/element_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/message-bindings/bindings/mqtt-message-020/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/supportedOperation/publish/expects/request/message-bindings/bindings/mqtt-message-020/source-map/lexical/element_3" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/some-other-channel/supportedOperation/publish/expects/request/message-bindings/bindings/mqtt-message-020/source-map/lexical/element_5" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/some-other-channel/supportedOperation/publish/expects/request/message-bindings/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/supportedOperation/publish/expects/request/message-bindings", + "http://a.ml/vocabularies/document-source-maps#value": "[(31,0)-(39,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/message-bindings/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#bindings", + "http://a.ml/vocabularies/document-source-maps#value": "[(31,0)-(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/bindings/mqtt-message/source-map/lexical/element_2", + "@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/bindings/mqtt-message-010/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#bindingVersion", - "http://a.ml/vocabularies/document-source-maps#value": "[(12,12)-(12,36)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(12,12)-(14,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/bindings/mqtt-message/source-map/lexical/element_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/bindings/mqtt-message-010/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#type", "http://a.ml/vocabularies/document-source-maps#value": "[(11,10)-(11,14)]" }, { - "@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/bindings/mqtt-message/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/supportedOperation/publish/expects/request/message-bindings/bindings/mqtt-message", - "http://a.ml/vocabularies/document-source-maps#value": "[(11,10)-(12,36)]" + "@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/bindings/mqtt-message-010/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/supportedOperation/publish/expects/request/message-bindings/bindings/mqtt-message-010", + "http://a.ml/vocabularies/document-source-maps#value": "[(11,10)-(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/message-bindings/bindings/mqtt-message-020/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/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" + }, + { + "@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_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/lexical/element_1" + } + ] + }, + { + "@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/source-map/lexical/element_6", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#bindingVersion", + "http://a.ml/vocabularies/document-source-maps#value": "[(25,12)-(27,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/source-map/lexical/element_4", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#payloadFormatIndicator", + "http://a.ml/vocabularies/document-source-maps#value": "[(19,12)-(20,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/source-map/lexical/element_2", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#correlationData", + "http://a.ml/vocabularies/document-source-maps#value": "[(20,12)-(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/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#type", + "http://a.ml/vocabularies/document-source-maps#value": "[(18,10)-(18,14)]" + }, + { + "@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/source-map/lexical/element_1", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#responseTopic", + "http://a.ml/vocabularies/document-source-maps#value": "[(24,12)-(25,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/source-map/lexical/element_3", + "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", + "http://a.ml/vocabularies/document-source-maps#value": "[(18,10)-(27,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/source-map/lexical/element_5", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#contentType", + "http://a.ml/vocabularies/document-source-maps#value": "[(23,12)-(24,0)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/declares/shape/testSchema/property/property/eventID", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://www.w3.org/ns/shacl#path": [ + { + "@id": "http://a.ml/vocabularies/data#eventID" + } + ], + "http://a.ml/vocabularies/shapes#range": { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/declares/shape/testSchema/property/property/eventID/scalar/eventID" + }, + "http://www.w3.org/ns/shacl#minCount": 0, + "http://www.w3.org/ns/shacl#name": "eventID", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/declares/shape/testSchema/property/property/eventID/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/declares/shape/testSchema/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/validations/async20/mqtt-message-binding.yaml#/declares/shape/testSchema/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/mqtt-message-binding.yaml#/declares/shape/testSchema/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/source-map/lexical/element_2" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/declares/shape/testSchema/source-map/lexical/element_0" + }, + { + "@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" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/some-other-channel/supportedOperation/publish/expects/request/message-bindings/bindings/mqtt-message-020/source-map/lexical/element_6", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#bindingVersion", + "http://a.ml/vocabularies/document-source-maps#value": "[(37,12)-(39,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/message-bindings/bindings/mqtt-message-020/source-map/lexical/element_4", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#payloadFormatIndicator", + "http://a.ml/vocabularies/document-source-maps#value": "[(32,12)-(33,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/message-bindings/bindings/mqtt-message-020/source-map/lexical/element_2", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#correlationData", + "http://a.ml/vocabularies/document-source-maps#value": "[(33,12)-(35,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/message-bindings/bindings/mqtt-message-020/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#type", + "http://a.ml/vocabularies/document-source-maps#value": "[(31,10)-(31,14)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/some-other-channel/supportedOperation/publish/expects/request/message-bindings/bindings/mqtt-message-020/source-map/lexical/element_1", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#responseTopic", + "http://a.ml/vocabularies/document-source-maps#value": "[(36,12)-(37,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/message-bindings/bindings/mqtt-message-020/source-map/lexical/element_3", + "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/supportedOperation/publish/expects/request/message-bindings/bindings/mqtt-message-020", + "http://a.ml/vocabularies/document-source-maps#value": "[(31,10)-(39,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/message-bindings/bindings/mqtt-message-020/source-map/lexical/element_5", + "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", + "http://a.ml/vocabularies/document-source-maps#value": "[(21,14)-(22,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/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#format", + "http://a.ml/vocabularies/document-source-maps#value": "[(22,14)-(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/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/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#/declares/shape/testSchema/property/property/eventID/scalar/eventID", + "@type": [ + "http://a.ml/vocabularies/shapes#ScalarShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://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": "eventID", + "http://a.ml/vocabularies/core#description": "Unique identifier for the event.", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/declares/shape/testSchema/property/property/eventID/scalar/eventID/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/declares/shape/testSchema/property/property/eventID/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/validations/async20/mqtt-message-binding.yaml#/declares/shape/testSchema/property/property/eventID/source-map/synthesized-field/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/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/declares/shape/testSchema/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/mqtt-message-binding.yaml#/declares/shape/testSchema/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", + "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/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": "[(43,6)-(46,55)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/declares/shape/testSchema/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": "[(41,4)-(41,14)]" + }, + { + "@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#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" + }, + { + "@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_0" + }, + { + "@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" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/declares/shape/testSchema/property/property/eventID/source-map/synthesized-field/element_0", + "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/validations/async20/mqtt-message-binding.yaml#/declares/shape/testSchema/property/property/eventID/source-map/lexical/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", + "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", + "http://a.ml/vocabularies/document-source-maps#value": "[(45,10)-(46,0)]" + }, + { + "@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_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#description", + "http://a.ml/vocabularies/document-source-maps#value": "[(46,10)-(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/lexical/element_1", + "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", + "http://a.ml/vocabularies/document#declares": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/declares/shape/testSchema" + } + ], "@type": [ "http://a.ml/vocabularies/document#Document", "http://a.ml/vocabularies/document#Fragment", diff --git a/amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml b/amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml index f4cb71eb30..41f3c8545b 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml +++ b/amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml @@ -9,4 +9,38 @@ channels: message: bindings: mqtt: - bindingVersion: 31.07.92 \ No newline at end of file + bindingVersion: 0.1.0 + + other-channel: + publish: + message: + bindings: + mqtt: + payloadFormatIndicator: 0 + correlationData: + type: string + format: uuid + contentType: application/json + responseTopic: response/client + bindingVersion: 0.2.0 + + some-other-channel: + publish: + message: + bindings: + mqtt: # valid ref + payloadFormatIndicator: 1 + correlationData: + $ref: '#/components/schemas/testSchema' + contentType: application/json + responseTopic: response/client + bindingVersion: 0.2.0 + +components: + schemas: + testSchema: + type: object + properties: + eventID: + type: string + description: Unique identifier for the event. \ No newline at end of file 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 cbc48790f2..4c59a95309 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 @@ -60,9 +60,9 @@ ], "http://a.ml/vocabularies/apiBinding#bindings": [ { - "@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", + "@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", "@type": [ - "http://a.ml/vocabularies/apiBinding#MqttOperationBinding", + "http://a.ml/vocabularies/apiBinding#MqttOperationBinding010", "http://a.ml/vocabularies/apiBinding#OperationBinding", "http://a.ml/vocabularies/document#DomainElement" ], @@ -88,13 +88,13 @@ ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@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/source-map", + "@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/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/validations/async20/mqtt-operation-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/mqtt-operation/source-map/synthesized-field/element_0", + "@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/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#bindingVersion" @@ -109,7 +109,7 @@ ], "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/supportedOperation/publish/operation-bindings/bindings/mqtt-operation/source-map/lexical/element_3", + "@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/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#retain" @@ -122,7 +122,7 @@ ] }, { - "@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/source-map/lexical/element_1", + "@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/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#qos" @@ -135,7 +135,7 @@ ] }, { - "@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/source-map/lexical/element_0", + "@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/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#type" @@ -148,10 +148,10 @@ ] }, { - "@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/source-map/lexical/element_2", + "@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/source-map/lexical/element_2", "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/supportedOperation/publish/operation-bindings/bindings/mqtt-operation" + "@value": "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" } ], "http://a.ml/vocabularies/document-source-maps#value": [ 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 04d487ccd2..3ba3aaef76 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 @@ -126,7 +126,7 @@ ], "http://a.ml/vocabularies/apiBinding#bindings": [ { - "@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" + "@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" } ], "http://a.ml/vocabularies/document-source-maps#sources": [ @@ -160,9 +160,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(8,0)-(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", + "@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", "@type": [ - "http://a.ml/vocabularies/apiBinding#MqttOperationBinding", + "http://a.ml/vocabularies/apiBinding#MqttOperationBinding010", "http://a.ml/vocabularies/apiBinding#OperationBinding", "http://a.ml/vocabularies/document#DomainElement" ], @@ -172,7 +172,7 @@ "http://a.ml/vocabularies/apiBinding#type": "mqtt", "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@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/source-map" + "@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/source-map" } ] }, @@ -201,27 +201,27 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(9,6)-(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/source-map", + "@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/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/validations/async20/mqtt-operation-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/mqtt-operation/source-map/synthesized-field/element_0" + "@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/source-map/synthesized-field/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/supportedOperation/publish/operation-bindings/bindings/mqtt-operation/source-map/lexical/element_3" + "@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/source-map/lexical/element_3" }, { - "@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/source-map/lexical/element_1" + "@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/source-map/lexical/element_1" }, { - "@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/source-map/lexical/element_0" + "@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/source-map/lexical/element_0" }, { - "@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/source-map/lexical/element_2" + "@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/source-map/lexical/element_2" } ] }, @@ -236,28 +236,28 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(10,0)-(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/source-map/synthesized-field/element_0", + "@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/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#bindingVersion", "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/supportedOperation/publish/operation-bindings/bindings/mqtt-operation/source-map/lexical/element_3", + "@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/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#retain", "http://a.ml/vocabularies/document-source-maps#value": "[(12,10)-(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/source-map/lexical/element_1", + "@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/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#qos", "http://a.ml/vocabularies/document-source-maps#value": "[(11,10)-(12,0)]" }, { - "@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/source-map/lexical/element_0", + "@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/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#type", "http://a.ml/vocabularies/document-source-maps#value": "[(10,8)-(10,12)]" }, { - "@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/source-map/lexical/element_2", - "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/supportedOperation/publish/operation-bindings/bindings/mqtt-operation", + "@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/source-map/lexical/element_2", + "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/supportedOperation/publish/operation-bindings/bindings/mqtt-operation-010", "http://a.ml/vocabularies/document-source-maps#value": "[(10,8)-(12,23)]" }, { diff --git a/amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding-emission.yaml b/amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding-emission.yaml index 64d5413edd..838bb05353 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding-emission.yaml +++ b/amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding-emission.yaml @@ -7,4 +7,3 @@ mqtt: retain: true message: Connection failure keepAlive: 12 - bindingVersion: 3.4.3 diff --git a/amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.expanded.jsonld index 970f8cf1da..567b8a4dd8 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.expanded.jsonld @@ -52,9 +52,9 @@ ], "http://a.ml/vocabularies/apiBinding#bindings": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server-010", "@type": [ - "http://a.ml/vocabularies/apiBinding#MqttServerBinding", + "http://a.ml/vocabularies/apiBinding#MqttServerBinding010", "http://a.ml/vocabularies/apiBinding#ServerBinding", "http://a.ml/vocabularies/document#DomainElement" ], @@ -70,7 +70,7 @@ ], "http://a.ml/vocabularies/apiBinding#lastWill": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server/mqtt-last-will", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server-010/mqtt-last-will", "@type": [ "http://a.ml/vocabularies/apiBinding#MqttServerLastWill", "http://a.ml/vocabularies/document#DomainElement" @@ -97,13 +97,13 @@ ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server/mqtt-last-will/source-map", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server-010/mqtt-last-will/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server/mqtt-last-will/source-map/lexical/element_4", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server-010/mqtt-last-will/source-map/lexical/element_4", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#retain" @@ -116,10 +116,10 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server/mqtt-last-will/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server-010/mqtt-last-will/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server/mqtt-last-will" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server-010/mqtt-last-will" } ], "http://a.ml/vocabularies/document-source-maps#value": [ @@ -129,7 +129,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server/mqtt-last-will/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server-010/mqtt-last-will/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#message" @@ -142,7 +142,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server/mqtt-last-will/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server-010/mqtt-last-will/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#qos" @@ -155,7 +155,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server/mqtt-last-will/source-map/lexical/element_3", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server-010/mqtt-last-will/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#topic" @@ -179,7 +179,7 @@ ], "http://a.ml/vocabularies/apiBinding#bindingVersion": [ { - "@value": "3.4.3" + "@value": "latest" } ], "http://a.ml/vocabularies/apiBinding#type": [ @@ -189,13 +189,13 @@ ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server/source-map", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server-010/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "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/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server/source-map/lexical/element_6", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server-010/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#bindingVersion" @@ -203,85 +203,87 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(20,8)-(21,0)]" + "@value": "true" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server/source-map/lexical/element_4", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server-010/source-map/lexical/element_5", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiBinding#clientId" + "@value": "http://a.ml/vocabularies/apiBinding#keepAlive" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(12,8)-(13,0)]" + "@value": "[(19,8)-(21,0)]" } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server-010/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiBinding#cleanSession" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server-010" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(13,8)-(14,0)]" + "@value": "[(11,6)-(21,0)]" } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server-010/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiBinding#type" + "@value": "http://a.ml/vocabularies/apiBinding#lastWill" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(11,6)-(11,10)]" + "@value": "[(14,8)-(19,0)]" } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server-010/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiBinding#keepAlive" + "@value": "http://a.ml/vocabularies/apiBinding#type" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(19,8)-(20,0)]" + "@value": "[(11,6)-(11,10)]" } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server/source-map/lexical/element_3", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server-010/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server" + "@value": "http://a.ml/vocabularies/apiBinding#clientId" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(11,6)-(21,0)]" + "@value": "[(12,8)-(13,0)]" } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server/source-map/lexical/element_5", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server-010/source-map/lexical/element_4", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiBinding#lastWill" + "@value": "http://a.ml/vocabularies/apiBinding#cleanSession" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(14,8)-(19,0)]" + "@value": "[(13,8)-(14,0)]" } ] } @@ -390,6 +392,411 @@ ] } ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1", + "@type": [ + "http://a.ml/vocabularies/apiContract#Server", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "other-server" + } + ], + "http://a.ml/vocabularies/core#urlTemplate": [ + { + "@value": "http://some.com" + } + ], + "http://a.ml/vocabularies/apiContract#protocol": [ + { + "@value": "amqp" + } + ], + "http://a.ml/vocabularies/apiBinding#binding": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1/server-bindings", + "@type": [ + "http://a.ml/vocabularies/apiBinding#ServerBindings", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/apiBinding#bindings": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1/server-bindings/bindings/mqtt-server-020", + "@type": [ + "http://a.ml/vocabularies/apiBinding#MqttServerBinding020", + "http://a.ml/vocabularies/apiBinding#ServerBinding", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/apiBinding#sessionExpiryInterval": [ + { + "@value": 123 + } + ], + "http://a.ml/vocabularies/apiBinding#maximumPacketSize": [ + { + "@value": 123 + } + ], + "http://a.ml/vocabularies/apiBinding#clientId": [ + { + "@value": "someid" + } + ], + "http://a.ml/vocabularies/apiBinding#cleanSession": [ + { + "@value": true + } + ], + "http://a.ml/vocabularies/apiBinding#lastWill": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1/server-bindings/bindings/mqtt-server-020/mqtt-last-will", + "@type": [ + "http://a.ml/vocabularies/apiBinding#MqttServerLastWill", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/apiBinding#topic": [ + { + "@value": "some" + } + ], + "http://a.ml/vocabularies/apiBinding#qos": [ + { + "@value": 2 + } + ], + "http://a.ml/vocabularies/apiBinding#retain": [ + { + "@value": true + } + ], + "http://a.ml/vocabularies/apiBinding#message": [ + { + "@value": "Connection failure" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1/server-bindings/bindings/mqtt-server-020/mqtt-last-will/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1/server-bindings/bindings/mqtt-server-020/mqtt-last-will/source-map/lexical/element_4", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "http://a.ml/vocabularies/apiBinding#retain" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(31,10)-(32,0)]" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1/server-bindings/bindings/mqtt-server-020/mqtt-last-will/source-map/lexical/element_2", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1/server-bindings/bindings/mqtt-server-020/mqtt-last-will" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(28,17)-(33,0)]" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1/server-bindings/bindings/mqtt-server-020/mqtt-last-will/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "http://a.ml/vocabularies/apiBinding#message" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(32,10)-(33,0)]" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1/server-bindings/bindings/mqtt-server-020/mqtt-last-will/source-map/lexical/element_1", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "http://a.ml/vocabularies/apiBinding#qos" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(30,10)-(31,0)]" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1/server-bindings/bindings/mqtt-server-020/mqtt-last-will/source-map/lexical/element_3", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "http://a.ml/vocabularies/apiBinding#topic" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(29,10)-(30,0)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/apiBinding#keepAlive": [ + { + "@value": 12 + } + ], + "http://a.ml/vocabularies/apiBinding#bindingVersion": [ + { + "@value": "0.2.0" + } + ], + "http://a.ml/vocabularies/apiBinding#type": [ + { + "@value": "mqtt" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1/server-bindings/bindings/mqtt-server-020/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1/server-bindings/bindings/mqtt-server-020/source-map/lexical/element_8", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "http://a.ml/vocabularies/apiBinding#bindingVersion" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(34,8)-(35,0)]" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1/server-bindings/bindings/mqtt-server-020/source-map/lexical/element_6", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "http://a.ml/vocabularies/apiBinding#clientId" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(26,8)-(27,0)]" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1/server-bindings/bindings/mqtt-server-020/source-map/lexical/element_4", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1/server-bindings/bindings/mqtt-server-020" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(25,6)-(37,0)]" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1/server-bindings/bindings/mqtt-server-020/source-map/lexical/element_2", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "http://a.ml/vocabularies/apiBinding#cleanSession" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(27,8)-(28,0)]" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1/server-bindings/bindings/mqtt-server-020/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "http://a.ml/vocabularies/apiBinding#type" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(25,6)-(25,10)]" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1/server-bindings/bindings/mqtt-server-020/source-map/lexical/element_1", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "http://a.ml/vocabularies/apiBinding#keepAlive" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(33,8)-(34,0)]" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1/server-bindings/bindings/mqtt-server-020/source-map/lexical/element_3", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "http://a.ml/vocabularies/apiBinding#maximumPacketSize" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(36,8)-(37,0)]" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1/server-bindings/bindings/mqtt-server-020/source-map/lexical/element_5", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "http://a.ml/vocabularies/apiBinding#sessionExpiryInterval" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(35,8)-(36,0)]" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1/server-bindings/bindings/mqtt-server-020/source-map/lexical/element_7", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "http://a.ml/vocabularies/apiBinding#lastWill" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(28,8)-(33,0)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1/server-bindings/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1/server-bindings/source-map/lexical/element_1", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1/server-bindings" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(25,0)-(37,0)]" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1/server-bindings/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "http://a.ml/vocabularies/apiBinding#bindings" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(25,0)-(37,0)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1/source-map/lexical/element_3", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "http://a.ml/vocabularies/apiContract#protocol" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(23,4)-(24,0)]" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1/source-map/lexical/element_1", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "http://a.ml/vocabularies/core#urlTemplate" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(22,4)-(23,0)]" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "http://a.ml/vocabularies/apiBinding#binding" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(24,4)-(37,0)]" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1/source-map/lexical/element_2", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(21,2)-(37,0)]" + } + ] + } + ] + } + ] } ], "http://a.ml/vocabularies/core#version": [ @@ -427,7 +834,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(1,0)-(21,12)]" + "@value": "[(1,0)-(37,12)]" } ] }, @@ -440,7 +847,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(21,0)-(21,12)]" + "@value": "[(37,0)-(37,12)]" } ] }, @@ -453,7 +860,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(6,0)-(21,0)]" + "@value": "[(6,0)-(37,0)]" } ] }, diff --git a/amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.flattened.jsonld index 09cb974928..0923fecce9 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.flattened.jsonld @@ -20,6 +20,9 @@ "http://a.ml/vocabularies/apiContract#server": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1" } ], "http://a.ml/vocabularies/core#version": "1.0.0", @@ -48,6 +51,24 @@ } ] }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1", + "@type": [ + "http://a.ml/vocabularies/apiContract#Server", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/core#name": "other-server", + "http://a.ml/vocabularies/core#urlTemplate": "http://some.com", + "http://a.ml/vocabularies/apiContract#protocol": "amqp", + "http://a.ml/vocabularies/apiBinding#binding": { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1/server-bindings" + }, + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1/source-map" + } + ] + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/source-map", "@type": [ @@ -79,7 +100,7 @@ ], "http://a.ml/vocabularies/apiBinding#bindings": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server-010" } ], "http://a.ml/vocabularies/document-source-maps#sources": [ @@ -108,6 +129,43 @@ } ] }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1/server-bindings", + "@type": [ + "http://a.ml/vocabularies/apiBinding#ServerBindings", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/apiBinding#bindings": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1/server-bindings/bindings/mqtt-server-020" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1/server-bindings/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1/source-map/lexical/element_3" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1/source-map/lexical/element_1" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1/source-map/lexical/element_0" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1/source-map/lexical/element_2" + } + ] + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/source-map/lexical/element_4", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#version", @@ -116,17 +174,17 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api", - "http://a.ml/vocabularies/document-source-maps#value": "[(1,0)-(21,12)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(1,0)-(37,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#endpoint", - "http://a.ml/vocabularies/document-source-maps#value": "[(21,0)-(21,12)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(37,0)-(37,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#server", - "http://a.ml/vocabularies/document-source-maps#value": "[(6,0)-(21,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(6,0)-(37,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/source-map/lexical/element_3", @@ -134,23 +192,23 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(3,2)-(4,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server-010", "@type": [ - "http://a.ml/vocabularies/apiBinding#MqttServerBinding", + "http://a.ml/vocabularies/apiBinding#MqttServerBinding010", "http://a.ml/vocabularies/apiBinding#ServerBinding", "http://a.ml/vocabularies/document#DomainElement" ], "http://a.ml/vocabularies/apiBinding#clientId": "someid", "http://a.ml/vocabularies/apiBinding#cleanSession": true, "http://a.ml/vocabularies/apiBinding#lastWill": { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server/mqtt-last-will" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server-010/mqtt-last-will" }, "http://a.ml/vocabularies/apiBinding#keepAlive": 12, - "http://a.ml/vocabularies/apiBinding#bindingVersion": "3.4.3", + "http://a.ml/vocabularies/apiBinding#bindingVersion": "latest", "http://a.ml/vocabularies/apiBinding#type": "mqtt", "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server/source-map" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server-010/source-map" } ] }, @@ -189,7 +247,64 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(7,2)-(21,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server/mqtt-last-will", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1/server-bindings/bindings/mqtt-server-020", + "@type": [ + "http://a.ml/vocabularies/apiBinding#MqttServerBinding020", + "http://a.ml/vocabularies/apiBinding#ServerBinding", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/apiBinding#sessionExpiryInterval": 123, + "http://a.ml/vocabularies/apiBinding#maximumPacketSize": 123, + "http://a.ml/vocabularies/apiBinding#clientId": "someid", + "http://a.ml/vocabularies/apiBinding#cleanSession": true, + "http://a.ml/vocabularies/apiBinding#lastWill": { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1/server-bindings/bindings/mqtt-server-020/mqtt-last-will" + }, + "http://a.ml/vocabularies/apiBinding#keepAlive": 12, + "http://a.ml/vocabularies/apiBinding#bindingVersion": "0.2.0", + "http://a.ml/vocabularies/apiBinding#type": "mqtt", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1/server-bindings/bindings/mqtt-server-020/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1/server-bindings/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1/server-bindings/source-map/lexical/element_1" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1/server-bindings/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1/source-map/lexical/element_3", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#protocol", + "http://a.ml/vocabularies/document-source-maps#value": "[(23,4)-(24,0)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1/source-map/lexical/element_1", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#urlTemplate", + "http://a.ml/vocabularies/document-source-maps#value": "[(22,4)-(23,0)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1/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": "[(24,4)-(37,0)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1/source-map/lexical/element_2", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1", + "http://a.ml/vocabularies/document-source-maps#value": "[(21,2)-(37,0)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server-010/mqtt-last-will", "@type": [ "http://a.ml/vocabularies/apiBinding#MqttServerLastWill", "http://a.ml/vocabularies/document#DomainElement" @@ -200,36 +315,38 @@ "http://a.ml/vocabularies/apiBinding#message": "Connection failure", "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server/mqtt-last-will/source-map" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server-010/mqtt-last-will/source-map" } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server/source-map", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server-010/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "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/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server/source-map/lexical/element_6" - }, + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server-010/source-map/synthesized-field/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server/source-map/lexical/element_4" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server-010/source-map/lexical/element_5" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server/source-map/lexical/element_2" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server-010/source-map/lexical/element_3" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server-010/source-map/lexical/element_1" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server/source-map/lexical/element_1" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server-010/source-map/lexical/element_0" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server/source-map/lexical/element_3" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server-010/source-map/lexical/element_2" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server/source-map/lexical/element_5" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server-010/source-map/lexical/element_4" } ] }, @@ -244,88 +361,242 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(11,0)-(21,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server/mqtt-last-will/source-map", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1/server-bindings/bindings/mqtt-server-020/mqtt-last-will", + "@type": [ + "http://a.ml/vocabularies/apiBinding#MqttServerLastWill", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/apiBinding#topic": "some", + "http://a.ml/vocabularies/apiBinding#qos": 2, + "http://a.ml/vocabularies/apiBinding#retain": true, + "http://a.ml/vocabularies/apiBinding#message": "Connection failure", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1/server-bindings/bindings/mqtt-server-020/mqtt-last-will/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1/server-bindings/bindings/mqtt-server-020/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1/server-bindings/bindings/mqtt-server-020/source-map/lexical/element_8" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1/server-bindings/bindings/mqtt-server-020/source-map/lexical/element_6" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1/server-bindings/bindings/mqtt-server-020/source-map/lexical/element_4" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1/server-bindings/bindings/mqtt-server-020/source-map/lexical/element_2" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1/server-bindings/bindings/mqtt-server-020/source-map/lexical/element_0" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1/server-bindings/bindings/mqtt-server-020/source-map/lexical/element_1" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1/server-bindings/bindings/mqtt-server-020/source-map/lexical/element_3" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1/server-bindings/bindings/mqtt-server-020/source-map/lexical/element_5" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1/server-bindings/bindings/mqtt-server-020/source-map/lexical/element_7" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1/server-bindings/source-map/lexical/element_1", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1/server-bindings", + "http://a.ml/vocabularies/document-source-maps#value": "[(25,0)-(37,0)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1/server-bindings/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#bindings", + "http://a.ml/vocabularies/document-source-maps#value": "[(25,0)-(37,0)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server-010/mqtt-last-will/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server/mqtt-last-will/source-map/lexical/element_4" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server-010/mqtt-last-will/source-map/lexical/element_4" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server/mqtt-last-will/source-map/lexical/element_2" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server-010/mqtt-last-will/source-map/lexical/element_2" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server/mqtt-last-will/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server-010/mqtt-last-will/source-map/lexical/element_0" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server/mqtt-last-will/source-map/lexical/element_1" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server-010/mqtt-last-will/source-map/lexical/element_1" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server/mqtt-last-will/source-map/lexical/element_3" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server-010/mqtt-last-will/source-map/lexical/element_3" } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server/source-map/lexical/element_6", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server-010/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#bindingVersion", - "http://a.ml/vocabularies/document-source-maps#value": "[(20,8)-(21,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server-010/source-map/lexical/element_5", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#keepAlive", + "http://a.ml/vocabularies/document-source-maps#value": "[(19,8)-(21,0)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server-010/source-map/lexical/element_3", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server-010", + "http://a.ml/vocabularies/document-source-maps#value": "[(11,6)-(21,0)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server-010/source-map/lexical/element_1", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#lastWill", + "http://a.ml/vocabularies/document-source-maps#value": "[(14,8)-(19,0)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server-010/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#type", + "http://a.ml/vocabularies/document-source-maps#value": "[(11,6)-(11,10)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server/source-map/lexical/element_4", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server-010/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#clientId", "http://a.ml/vocabularies/document-source-maps#value": "[(12,8)-(13,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server-010/source-map/lexical/element_4", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#cleanSession", "http://a.ml/vocabularies/document-source-maps#value": "[(13,8)-(14,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1/server-bindings/bindings/mqtt-server-020/mqtt-last-will/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1/server-bindings/bindings/mqtt-server-020/mqtt-last-will/source-map/lexical/element_4" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1/server-bindings/bindings/mqtt-server-020/mqtt-last-will/source-map/lexical/element_2" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1/server-bindings/bindings/mqtt-server-020/mqtt-last-will/source-map/lexical/element_0" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1/server-bindings/bindings/mqtt-server-020/mqtt-last-will/source-map/lexical/element_1" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1/server-bindings/bindings/mqtt-server-020/mqtt-last-will/source-map/lexical/element_3" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1/server-bindings/bindings/mqtt-server-020/source-map/lexical/element_8", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#bindingVersion", + "http://a.ml/vocabularies/document-source-maps#value": "[(34,8)-(35,0)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1/server-bindings/bindings/mqtt-server-020/source-map/lexical/element_6", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#clientId", + "http://a.ml/vocabularies/document-source-maps#value": "[(26,8)-(27,0)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1/server-bindings/bindings/mqtt-server-020/source-map/lexical/element_4", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1/server-bindings/bindings/mqtt-server-020", + "http://a.ml/vocabularies/document-source-maps#value": "[(25,6)-(37,0)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1/server-bindings/bindings/mqtt-server-020/source-map/lexical/element_2", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#cleanSession", + "http://a.ml/vocabularies/document-source-maps#value": "[(27,8)-(28,0)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1/server-bindings/bindings/mqtt-server-020/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#type", - "http://a.ml/vocabularies/document-source-maps#value": "[(11,6)-(11,10)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(25,6)-(25,10)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1/server-bindings/bindings/mqtt-server-020/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#keepAlive", - "http://a.ml/vocabularies/document-source-maps#value": "[(19,8)-(20,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(33,8)-(34,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server/source-map/lexical/element_3", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server", - "http://a.ml/vocabularies/document-source-maps#value": "[(11,6)-(21,0)]" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1/server-bindings/bindings/mqtt-server-020/source-map/lexical/element_3", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#maximumPacketSize", + "http://a.ml/vocabularies/document-source-maps#value": "[(36,8)-(37,0)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1/server-bindings/bindings/mqtt-server-020/source-map/lexical/element_5", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#sessionExpiryInterval", + "http://a.ml/vocabularies/document-source-maps#value": "[(35,8)-(36,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server/source-map/lexical/element_5", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1/server-bindings/bindings/mqtt-server-020/source-map/lexical/element_7", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#lastWill", - "http://a.ml/vocabularies/document-source-maps#value": "[(14,8)-(19,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(28,8)-(33,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server/mqtt-last-will/source-map/lexical/element_4", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server-010/mqtt-last-will/source-map/lexical/element_4", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#retain", "http://a.ml/vocabularies/document-source-maps#value": "[(17,10)-(18,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server/mqtt-last-will/source-map/lexical/element_2", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server/mqtt-last-will", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server-010/mqtt-last-will/source-map/lexical/element_2", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server-010/mqtt-last-will", "http://a.ml/vocabularies/document-source-maps#value": "[(14,17)-(19,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server/mqtt-last-will/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server-010/mqtt-last-will/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#message", "http://a.ml/vocabularies/document-source-maps#value": "[(18,10)-(19,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server/mqtt-last-will/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server-010/mqtt-last-will/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#qos", "http://a.ml/vocabularies/document-source-maps#value": "[(16,10)-(17,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server/mqtt-last-will/source-map/lexical/element_3", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com/server-bindings/bindings/mqtt-server-010/mqtt-last-will/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#topic", "http://a.ml/vocabularies/document-source-maps#value": "[(15,10)-(16,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1/server-bindings/bindings/mqtt-server-020/mqtt-last-will/source-map/lexical/element_4", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#retain", + "http://a.ml/vocabularies/document-source-maps#value": "[(31,10)-(32,0)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1/server-bindings/bindings/mqtt-server-020/mqtt-last-will/source-map/lexical/element_2", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1/server-bindings/bindings/mqtt-server-020/mqtt-last-will", + "http://a.ml/vocabularies/document-source-maps#value": "[(28,17)-(33,0)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1/server-bindings/bindings/mqtt-server-020/mqtt-last-will/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#message", + "http://a.ml/vocabularies/document-source-maps#value": "[(32,10)-(33,0)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1/server-bindings/bindings/mqtt-server-020/mqtt-last-will/source-map/lexical/element_1", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#qos", + "http://a.ml/vocabularies/document-source-maps#value": "[(30,10)-(31,0)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml#/async-api/server/http%3A%2F%2Fsome.com_1/server-bindings/bindings/mqtt-server-020/mqtt-last-will/source-map/lexical/element_3", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#topic", + "http://a.ml/vocabularies/document-source-maps#value": "[(29,10)-(30,0)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml", "@type": [ diff --git a/amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml b/amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml index 17c82e1b3d..50a39302d7 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml +++ b/amf-cli/shared/src/test/resources/validations/async20/mqtt-server-binding.yaml @@ -17,5 +17,21 @@ servers: retain: true message: Connection failure keepAlive: 12 - bindingVersion: 3.4.3 + + other-server: + url: http://some.com + protocol: amqp + bindings: + mqtt: + clientId: someid + cleanSession: true + lastWill: + topic: some + qos: 2 + retain: true + message: Connection failure + keepAlive: 12 + bindingVersion: 0.2.0 + sessionExpiryInterval: 123 + maximumPacketSize: 123 channels: {} \ No newline at end of file diff --git a/amf-cli/shared/src/test/resources/validations/async20/validations/binding-wrong-key.yaml b/amf-cli/shared/src/test/resources/validations/async20/validations/google-binding-wrong-key.yaml similarity index 69% rename from amf-cli/shared/src/test/resources/validations/async20/validations/binding-wrong-key.yaml rename to amf-cli/shared/src/test/resources/validations/async20/validations/google-binding-wrong-key.yaml index ed0a9c9ae8..462654670f 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/validations/binding-wrong-key.yaml +++ b/amf-cli/shared/src/test/resources/validations/async20/validations/google-binding-wrong-key.yaml @@ -1,10 +1,10 @@ asyncapi: 2.5.0 info: - title: Simple API with GooglePubSub Message Binding + title: GooglePubSub Binding test version: 1.0.0 servers: {} channels: - topic-proto-schema: + some-channel: bindings: googlepubsub: labels: @@ -24,19 +24,29 @@ channels: lastRevisionId: 2.0.0 WrongKey2: WrongKey2 WrongKey3: WrongKey3 + other-channel: + bindings: + googlepubsub: + bindingVersion: 0.2.0 + topic: not valid # removed in 0.2.0 + components: messages: - messageAvro: + some-message: bindings: googlepubsub: attributes: exampleAttribute: exampleValue orderingKey: userEventOrder - bindingVersion: 0.1.0 WrongKey4: WrongKey4 schema: - name: projects/your-project/schemas/message-avro + name: test name type: avro WrongKey5: WrongKey5 - - + other-message: + bindings: + googlepubsub: + bindingVersion: 0.2.0 + schema: + name: test name + type: not valid # removed in 0.2.0 diff --git a/amf-cli/shared/src/test/resources/validations/async20/validations/google-binding-wrong-version.yaml b/amf-cli/shared/src/test/resources/validations/async20/validations/google-binding-wrong-version.yaml new file mode 100644 index 0000000000..2141baa9e7 --- /dev/null +++ b/amf-cli/shared/src/test/resources/validations/async20/validations/google-binding-wrong-version.yaml @@ -0,0 +1,20 @@ +asyncapi: 2.5.0 + +info: + title: GooglePubSub Binding test + version: 1.0.0 + +servers: {} + +channels: + some-channel: + bindings: + googlepubsub: + bindingVersion: 9.9.9 + +components: + messages: + some-message: + bindings: + googlepubsub: + bindingVersion: 9.9.9 diff --git a/amf-cli/shared/src/test/resources/validations/async20/validations/http-binding-references.yaml b/amf-cli/shared/src/test/resources/validations/async20/validations/http-binding-references.yaml new file mode 100644 index 0000000000..12469dff5e --- /dev/null +++ b/amf-cli/shared/src/test/resources/validations/async20/validations/http-binding-references.yaml @@ -0,0 +1,65 @@ +asyncapi: 2.0.0 + +info: + title: test API + version: 1.0.0 + +channels: + /test1: + subscribe: + message: + bindings: + http: + headers: # inline + type: object + properties: + eventID: + type: string + description: Unique identifier for the event. + bindings: + http: + type: request + method: GET + query: # inline + type: object + properties: + eventID: + type: string + description: Unique identifier for the event. + /test2: + subscribe: + message: + bindings: + http: + headers: # valid ref + $ref: '#/components/schemas/testSchema' + bindings: + http: + type: request + method: GET + query: # valid ref + $ref: '#/components/schemas/testSchema' + + /test3: + subscribe: + message: + bindings: + http: + headers: # invalid ref + $ref: '#/components/schemas/invalidSchema' + bindings: + http: + type: request + method: GET + query: # invalid ref + $ref: '#/components/schemas/invalidSchema' + + +components: + schemas: + testSchema: + type: object + properties: + eventID: + type: string + description: Unique identifier for the event. \ No newline at end of file diff --git a/amf-cli/shared/src/test/resources/validations/async20/validations/http-binding-wrong-binding-version.yaml b/amf-cli/shared/src/test/resources/validations/async20/validations/http-binding-wrong-binding-version.yaml new file mode 100644 index 0000000000..921bb2eb2e --- /dev/null +++ b/amf-cli/shared/src/test/resources/validations/async20/validations/http-binding-wrong-binding-version.yaml @@ -0,0 +1,48 @@ +asyncapi: 2.0.0 + +info: + title: test API + version: 1.0.0 + +channels: + /test1: # defaults to 0.1.0 + subscribe: + message: + bindings: + http: {} + bindings: + http: + type: response + + /test2: # specific to 0.2.0 + subscribe: + message: + bindings: + http: + bindingVersion: 0.2.0 + bindings: + http: + bindingVersion: 0.2.0 + + /test3: # specific to 0.3.0 + subscribe: + message: + bindings: + http: + bindingVersion: 0.3.0 + statusCode: 123 # new key added in 0.3.0 + bindings: + http: + bindingVersion: 0.3.0 + + /invalid: + subscribe: + message: + bindings: + http: + bindingVersion: 9.9.9 # doesn't exist, throws error + bindings: + http: + bindingVersion: 9.9.9 # doesn't exist, throws error + type: response + method: GET \ No newline at end of file diff --git a/amf-cli/shared/src/test/resources/validations/async20/validations/http-message-binding.yaml b/amf-cli/shared/src/test/resources/validations/async20/validations/http-message-binding.yaml new file mode 100644 index 0000000000..35d499e9c3 --- /dev/null +++ b/amf-cli/shared/src/test/resources/validations/async20/validations/http-message-binding.yaml @@ -0,0 +1,38 @@ +asyncapi: 2.0.0 + +info: + title: test API + version: 1.0.0 + +channels: + /test: # specific to 0.3.0 + subscribe: + message: + bindings: + http: + bindingVersion: 0.3.0 + statusCode: 200 # new key added in 0.3.0, only admits HTTP Status Codes + + /invalid: + subscribe: + message: + bindings: + http: + bindingVersion: 0.3.0 + statusCode: 000 # should trow error + + /invalid2: + subscribe: + message: + bindings: + http: + bindingVersion: 0.3.0 + statusCode: 999 # should trow error + + /invalid3: + subscribe: + message: + bindings: + http: + bindingVersion: 0.3.0 + statusCode: 1000 # should trow error diff --git a/amf-cli/shared/src/test/resources/validations/async20/validations/invalid-component-names.yaml b/amf-cli/shared/src/test/resources/validations/async20/validations/invalid-component-names.yaml index 79c77b42d1..8a564bcadf 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/validations/invalid-component-names.yaml +++ b/amf-cli/shared/src/test/resources/validations/async20/validations/invalid-component-names.yaml @@ -72,11 +72,11 @@ components: messageBindings: s#omeName: mqtt: - bindingVersion: 31.07.92 + bindingVersion: 0.2.0 externalMessageBinding: mqtt: - bindingVersion: 31.07.92 + bindingVersion: 0.2.0 serverBindings: some#ServerBinding: @@ -84,18 +84,16 @@ components: clientId: someid cleanSession: true keepAlive: 12 - bindingVersion: 3.4.3 externalServerBinding: mqtt: clientId: someid cleanSession: true keepAlive: 12 - bindingVersion: 3.4.3 operationBindings: some#OperationBinding: http: - bindingVersion: 31.07.92 + bindingVersion: 0.1.0 type: request query: type: object @@ -104,7 +102,7 @@ components: type: string externalOperationBinding: http: - bindingVersion: 31.07.92 + bindingVersion: 0.1.0 type: request query: type: object diff --git a/amf-cli/shared/src/test/resources/validations/async20/validations/invalid-httpOperationBinding-type.yaml b/amf-cli/shared/src/test/resources/validations/async20/validations/invalid-httpOperationBinding-type.yaml new file mode 100644 index 0000000000..3f0e100793 --- /dev/null +++ b/amf-cli/shared/src/test/resources/validations/async20/validations/invalid-httpOperationBinding-type.yaml @@ -0,0 +1,13 @@ +asyncapi: 2.0.0 +info: + title: test API + version: 1.0.0 +channels: + + /test3: + subscribe: + bindings: + http: + bindingVersion: 0.2.0 # doesn't have a `type` field + method: GET + type: request # should throw error diff --git a/amf-cli/shared/src/test/resources/validations/async20/validations/mqtt-message-binding-format.yaml b/amf-cli/shared/src/test/resources/validations/async20/validations/mqtt-message-binding-format.yaml new file mode 100644 index 0000000000..7ef3fcb6b6 --- /dev/null +++ b/amf-cli/shared/src/test/resources/validations/async20/validations/mqtt-message-binding-format.yaml @@ -0,0 +1,13 @@ +asyncapi: '2.0.0' +info: + title: Mqtt message binding + version: '1.0.0' + +channels: + some-channel: + publish: + message: + bindings: + mqtt: + payloadFormatIndicator: 123 # should be 0 or 1 + bindingVersion: 0.2.0 diff --git a/amf-cli/shared/src/test/resources/validations/async20/validations/mqtt-message-binding-refs.yaml b/amf-cli/shared/src/test/resources/validations/async20/validations/mqtt-message-binding-refs.yaml new file mode 100644 index 0000000000..7f33b7d048 --- /dev/null +++ b/amf-cli/shared/src/test/resources/validations/async20/validations/mqtt-message-binding-refs.yaml @@ -0,0 +1,53 @@ +asyncapi: '2.0.0' +info: + title: Mqtt message binding + version: '1.0.0' + +channels: + some-channel: + publish: + message: + bindings: + mqtt: + payloadFormatIndicator: 0 + correlationData: # inline + type: string + format: uuid + contentType: application/json + responseTopic: response/client + bindingVersion: 0.2.0 + + other-channel: + publish: + message: + bindings: + mqtt: # valid ref + payloadFormatIndicator: 1 + correlationData: + $ref: '#/components/schemas/testSchema' + contentType: application/json + responseTopic: + $ref: '#/components/schemas/testSchema' + bindingVersion: 0.2.0 + + some-other-channel: + publish: + message: + bindings: + mqtt: # invalid ref + payloadFormatIndicator: 1 + correlationData: + $ref: '#/components/schemas/invalidRef' # should throw error + contentType: application/json + responseTopic: + $ref: '#/components/schemas/invalidRef' # should throw error + bindingVersion: 0.2.0 + +components: + schemas: + testSchema: + type: object + properties: + eventID: + type: string + description: Unique identifier for the event. diff --git a/amf-cli/shared/src/test/resources/validations/async20/validations/mqtt-server-binding-schemas.yaml b/amf-cli/shared/src/test/resources/validations/async20/validations/mqtt-server-binding-schemas.yaml new file mode 100644 index 0000000000..449e4ff42d --- /dev/null +++ b/amf-cli/shared/src/test/resources/validations/async20/validations/mqtt-server-binding-schemas.yaml @@ -0,0 +1,38 @@ +asyncapi: 2.0.0 +info: + title: Mqtt binding + version: 1.0.0 + +channels: {} + +servers: + valid-reference-server: + protocol: mqtt + url: http://some.com + bindings: + mqtt: + bindingVersion: 0.2.0 + sessionExpiryInterval: + $ref: '#/components/schemas/testSchema' + maximumPacketSize: + $ref: '#/components/schemas/testSchema' + + invalid-reference-server: + protocol: mqtt + url: http://some.com + bindings: + mqtt: + bindingVersion: 0.2.0 + sessionExpiryInterval: + $ref: '#/components/schemas/invalidRef' + maximumPacketSize: + $ref: '#/components/schemas/invalidRef' + +components: + schemas: + testSchema: + type: object + properties: + eventID: + type: string + description: Unique identifier for the event. diff --git a/amf-cli/shared/src/test/resources/validations/async20/validations/required-httpOperationBinding-type.yaml b/amf-cli/shared/src/test/resources/validations/async20/validations/required-httpOperationBinding-type.yaml index 43e39ebbd9..83da8ed914 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/validations/required-httpOperationBinding-type.yaml +++ b/amf-cli/shared/src/test/resources/validations/async20/validations/required-httpOperationBinding-type.yaml @@ -1,10 +1,24 @@ asyncapi: 2.0.0 info: - title: asasd - version: asd + title: test API + version: 1.0.0 channels: - /employees: + /test1: subscribe: bindings: http: method: GET + + /test2: + subscribe: + bindings: + http: + bindingVersion: 0.2.0 # doesn't have a `type` field + method: GET + + /test3: + subscribe: + bindings: + http: + bindingVersion: 0.2.0 # doesn't have a `type` field + method: GET diff --git a/amf-cli/shared/src/test/resources/validations/async20/validations/solace-0.4.0-invalid.yaml b/amf-cli/shared/src/test/resources/validations/async20/validations/solace-0.4.0-invalid.yaml new file mode 100644 index 0000000000..161373d2c0 --- /dev/null +++ b/amf-cli/shared/src/test/resources/validations/async20/validations/solace-0.4.0-invalid.yaml @@ -0,0 +1,37 @@ +asyncapi: 2.3.0 +info: + title: test solace binding + version: 1.0.0 +servers: + theName: + url: some.com + protocol: solace + bindings: + solace: + msgVpn: test + clientName: testClient + bindingVersion: 0.3.0 #invalid version for clientName +channels: + some-channel: + publish: + bindings: + solace: + bindingVersion: 9.9.9 #invalid version + destinations: + - + destinationType: queue + queue: + name: CreatedHREvents + accessType: exclusive + topicSubscriptions: + - person/*/created + maxMsgSpoolSize: this is a string + maxTtl: this is a string + - + destinationType: topic + topic: + topicSubscriptions: + - person/*/updated + timeToLive: 3600000 + priority: 10 + dmqEligible: true diff --git a/amf-cli/shared/src/test/resources/validations/async20/validations/solace-binding-extra-key.yaml b/amf-cli/shared/src/test/resources/validations/async20/validations/solace-binding-extra-key.yaml index 1766a6329d..b9577d7502 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/validations/solace-binding-extra-key.yaml +++ b/amf-cli/shared/src/test/resources/validations/async20/validations/solace-binding-extra-key.yaml @@ -9,14 +9,14 @@ servers: bindings: solace: msgVpn: test - bindingVersion: 1.2.3 + bindingVersion: 0.1.0 thisKeyIsNotAllowed: should throw validation error channels: some-channel: publish: bindings: solace: - bindingVersion: 0.3.0 + bindingVersion: 0.2.0 destinations: - destinationType: queue queue: @@ -29,4 +29,4 @@ channels: thisKeyIsNotAllowed: should throw validation error topicSubscriptions: - person/*/updated - thisKeyIsNotAllowed: should throw validation error \ No newline at end of file + thisKeyIsNotAllowed: should throw validation error diff --git a/amf-cli/shared/src/test/resources/validations/async20/validations/solace-binding-validations.yaml b/amf-cli/shared/src/test/resources/validations/async20/validations/solace-binding-validations.yaml index d30d832ba4..cda1a94e72 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/validations/solace-binding-validations.yaml +++ b/amf-cli/shared/src/test/resources/validations/async20/validations/solace-binding-validations.yaml @@ -9,13 +9,13 @@ servers: bindings: solace: msgVpn: test - bindingVersion: 1.2.3 + bindingVersion: 0.1.0 channels: some-channel: publish: bindings: solace: - bindingVersion: 0.3.0 + bindingVersion: 0.2.0 destinations: - destinationType: wrong destinationType # 'queue' or 'topic' deliveryMode: wrong deliveryMode # 'direct' or 'persistent' @@ -27,4 +27,4 @@ channels: - destinationType: topic topic: topicSubscriptions: - - person/*/updated \ No newline at end of file + - person/*/updated diff --git a/amf-cli/shared/src/test/resources/validations/async20/validations/solace-invalid-queue-version.yaml b/amf-cli/shared/src/test/resources/validations/async20/validations/solace-invalid-queue-version.yaml new file mode 100644 index 0000000000..f38d018d27 --- /dev/null +++ b/amf-cli/shared/src/test/resources/validations/async20/validations/solace-invalid-queue-version.yaml @@ -0,0 +1,33 @@ +asyncapi: 2.3.0 +info: + title: test solace binding + version: 1.0.0 +servers: + theName: + url: some.com + protocol: solace + bindings: + solace: + msgVpn: test + bindingVersion: 0.3.0 +channels: + some-channel: + publish: + bindings: + solace: + bindingVersion: 9.9.9 #wrong version for maxMsgSpoolSize and maxTtl + destinations: + - + destinationType: queue + queue: + name: CreatedHREvents + accessType: exclusive + topicSubscriptions: + - person/*/created + maxMsgSpoolSize: this is string + maxTtl: '3600' + - + destinationType: topic + topic: + topicSubscriptions: + - person/*/updated diff --git a/amf-cli/shared/src/test/resources/validations/async20/validations/solace-wrong-binding-version.yaml b/amf-cli/shared/src/test/resources/validations/async20/validations/solace-wrong-binding-version.yaml new file mode 100644 index 0000000000..f77ecf3794 --- /dev/null +++ b/amf-cli/shared/src/test/resources/validations/async20/validations/solace-wrong-binding-version.yaml @@ -0,0 +1,67 @@ +asyncapi: '2.4.0' +info: + title: Solace Messaging API + version: '1.0.0' + description: API to interact with Solace messaging system + +servers: + solaceServer: + url: solace.example.com + protocol: solace + description: Solace broker connection + bindings: + solace: + msgVpn: yourVpn + bindingVersion: '9.9.9' #wrong version + anotherServer: + url: solace.example.com + protocol: solace + description: Solace broker connection + bindings: + solace: + msgVpn: yourVpn + invalidKey: invalid # closeShape invalid + bindingVersion: '0.1.0' +channels: + user/created: + publish: + operationId: publishUserId + bindings: + solace: + bindingVersion: '0.1.0' #invalid version topi added in 0.2.0 version + destinations: + - destinationType: queue + deliveryMode: persistent + queue: + name: userQueue + topicSubscriptions: + - user/created + - user/modified + topic: + topicSubscriptions: + - user/all + user/deleted: + publish: + operationId: deletedUserId + bindings: + solace: + bindingVersion: '0.2.0' #valid version topic added in 0.2.0 version + destinations: + - destinationType: queue + deliveryMode: persistent + queue: + name: userQueue + topicSubscriptions: + - user/deleted + topic: + topicSubscriptions: + - user/all + message: + contentType: application/json + payload: + type: object + properties: + userId: + type: string + userName: + type: string diff --git a/amf-cli/shared/src/test/resources/validations/async20/validations/solace-wrong-queue-version.yaml b/amf-cli/shared/src/test/resources/validations/async20/validations/solace-wrong-queue-version.yaml new file mode 100644 index 0000000000..e62795a111 --- /dev/null +++ b/amf-cli/shared/src/test/resources/validations/async20/validations/solace-wrong-queue-version.yaml @@ -0,0 +1,33 @@ +asyncapi: 2.3.0 +info: + title: test solace binding + version: 1.0.0 +servers: + theName: + url: some.com + protocol: solace + bindings: + solace: + msgVpn: test + bindingVersion: 0.3.0 +channels: + some-channel: + publish: + bindings: + solace: + bindingVersion: 0.2.0 #wrong version for maxMsgSpoolSize and maxTtl + destinations: + - + destinationType: queue + queue: + name: CreatedHREvents + accessType: exclusive + topicSubscriptions: + - person/*/created + maxMsgSpoolSize: this is string + maxTtl: '3600' + - + destinationType: topic + topic: + topicSubscriptions: + - person/*/updated diff --git a/amf-cli/shared/src/test/resources/validations/oas3/oas-components-unresolved-ref.yaml b/amf-cli/shared/src/test/resources/validations/oas3/oas-components-unresolved-ref.yaml new file mode 100644 index 0000000000..21c44db262 --- /dev/null +++ b/amf-cli/shared/src/test/resources/validations/oas3/oas-components-unresolved-ref.yaml @@ -0,0 +1,15 @@ +openapi: "3.0.0" +info: + version: 1.0.0 + title: oas components test + +paths: { } + +components: + schemas: + RequestTypeTOPaged: + description: "RequestTypeTOPaged" + type: "object" + allOf: + - $ref: "#/components/responses/PageResponse" + - type: "string" \ No newline at end of file diff --git a/amf-cli/shared/src/test/resources/validations/reports/async20/binding-wrong-key.report b/amf-cli/shared/src/test/resources/validations/reports/async20/binding-wrong-key.report deleted file mode 100644 index 8073995edb..0000000000 --- a/amf-cli/shared/src/test/resources/validations/reports/async20/binding-wrong-key.report +++ /dev/null @@ -1,46 +0,0 @@ -ModelId: file://amf-cli/shared/src/test/resources/validations/async20/validations/binding-wrong-key.yaml -Profile: -Conforms: false -Number of results: 5 - -Level: Violation - -- Constraint: http://a.ml/vocabularies/amf/parser#closed-shape - Message: Property 'wrongKey1' not supported in a ASYNC 2.5 GooglePubSubMessageStoragePolicy node - Severity: Violation - Target: file://amf-cli/shared/src/test/resources/validations/async20/validations/binding-wrong-key.yaml#/async-api/endpoint/topic-proto-schema/channel-bindings/bindings/googlepubsub-operation/googlepubsub-messageStoragePolicy - Property: - Range: [(19,10)-(20,0)] - Location: file://amf-cli/shared/src/test/resources/validations/async20/validations/binding-wrong-key.yaml - -- Constraint: http://a.ml/vocabularies/amf/parser#closed-shape - Message: Property 'WrongKey2' not supported in a ASYNC 2.5 GooglePubSubSchemaSettings node - Severity: Violation - Target: file://amf-cli/shared/src/test/resources/validations/async20/validations/binding-wrong-key.yaml#/async-api/endpoint/topic-proto-schema/channel-bindings/bindings/googlepubsub-operation/googlepubsub-schemaSettings - Property: - Range: [(25,10)-(26,0)] - Location: file://amf-cli/shared/src/test/resources/validations/async20/validations/binding-wrong-key.yaml - -- Constraint: http://a.ml/vocabularies/amf/parser#closed-shape - Message: Property 'WrongKey3' not supported in a ASYNC 2.5 GooglePubSubChannelBinding node - Severity: Violation - Target: file://amf-cli/shared/src/test/resources/validations/async20/validations/binding-wrong-key.yaml#/async-api/endpoint/topic-proto-schema/channel-bindings/bindings/googlepubsub-operation - Property: - Range: [(26,8)-(27,0)] - Location: file://amf-cli/shared/src/test/resources/validations/async20/validations/binding-wrong-key.yaml - -- Constraint: http://a.ml/vocabularies/amf/parser#closed-shape - Message: Property 'WrongKey4' not supported in a ASYNC 2.5 GooglePubSubMessageBinding node - Severity: Violation - Target: file://amf-cli/shared/src/test/resources/validations/async20/validations/binding-wrong-key.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message - Property: - Range: [(36,10)-(37,0)] - Location: file://amf-cli/shared/src/test/resources/validations/async20/validations/binding-wrong-key.yaml - -- Constraint: http://a.ml/vocabularies/amf/parser#closed-shape - Message: Property 'WrongKey5' not supported in a ASYNC 2.5 GooglePubSubMessageSchema node - Severity: Violation - Target: file://amf-cli/shared/src/test/resources/validations/async20/validations/binding-wrong-key.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message/googlepubsub-schemaDefinition - Property: - Range: [(40,12)-(43,0)] - Location: file://amf-cli/shared/src/test/resources/validations/async20/validations/binding-wrong-key.yaml diff --git a/amf-cli/shared/src/test/resources/validations/reports/async20/google-binding-wrong-key.report b/amf-cli/shared/src/test/resources/validations/reports/async20/google-binding-wrong-key.report new file mode 100644 index 0000000000..b1030d5bd3 --- /dev/null +++ b/amf-cli/shared/src/test/resources/validations/reports/async20/google-binding-wrong-key.report @@ -0,0 +1,62 @@ +ModelId: file://amf-cli/shared/src/test/resources/validations/async20/validations/google-binding-wrong-key.yaml +Profile: +Conforms: false +Number of results: 7 + +Level: Violation + +- Constraint: http://a.ml/vocabularies/amf/parser#closed-shape + Message: Property 'wrongKey1' not supported in a ASYNC 2.5 GooglePubSubMessageStoragePolicy node + Severity: Violation + Target: file://amf-cli/shared/src/test/resources/validations/async20/validations/google-binding-wrong-key.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/googlepubsub-channel-010/googlepubsub-messageStoragePolicy + Property: + Range: [(19,10)-(20,0)] + Location: file://amf-cli/shared/src/test/resources/validations/async20/validations/google-binding-wrong-key.yaml + +- Constraint: http://a.ml/vocabularies/amf/parser#closed-shape + Message: Property 'WrongKey2' not supported in a ASYNC 2.5 GooglePubSubSchemaSettings node + Severity: Violation + Target: file://amf-cli/shared/src/test/resources/validations/async20/validations/google-binding-wrong-key.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/googlepubsub-channel-010/googlepubsub-schemaSettings + Property: + Range: [(25,10)-(26,0)] + Location: file://amf-cli/shared/src/test/resources/validations/async20/validations/google-binding-wrong-key.yaml + +- Constraint: http://a.ml/vocabularies/amf/parser#closed-shape + Message: Property 'WrongKey3' not supported in a ASYNC 2.5 GooglePubSubChannelBinding010 node + Severity: Violation + Target: file://amf-cli/shared/src/test/resources/validations/async20/validations/google-binding-wrong-key.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/googlepubsub-channel-010 + Property: + Range: [(26,8)-(27,0)] + Location: file://amf-cli/shared/src/test/resources/validations/async20/validations/google-binding-wrong-key.yaml + +- Constraint: http://a.ml/vocabularies/amf/parser#closed-shape + Message: Property 'topic' not supported in a ASYNC 2.5 GooglePubSubChannelBinding020 node + Severity: Violation + Target: file://amf-cli/shared/src/test/resources/validations/async20/validations/google-binding-wrong-key.yaml#/async-api/endpoint/other-channel/channel-bindings/bindings/googlepubsub-channel-020 + Property: + Range: [(31,8)-(33,0)] + Location: file://amf-cli/shared/src/test/resources/validations/async20/validations/google-binding-wrong-key.yaml + +- Constraint: http://a.ml/vocabularies/amf/parser#closed-shape + Message: Property 'WrongKey4' not supported in a ASYNC 2.5 GooglePubSubMessageBinding node + Severity: Violation + Target: file://amf-cli/shared/src/test/resources/validations/async20/validations/google-binding-wrong-key.yaml#/declares/msg/some-message/message-bindings/bindings/googlepubsub-message-010 + Property: + Range: [(41,10)-(42,0)] + Location: file://amf-cli/shared/src/test/resources/validations/async20/validations/google-binding-wrong-key.yaml + +- Constraint: http://a.ml/vocabularies/amf/parser#closed-shape + Message: Property 'WrongKey5' not supported in a ASYNC 2.5 GooglePubSubMessageSchema010 node + Severity: Violation + Target: file://amf-cli/shared/src/test/resources/validations/async20/validations/google-binding-wrong-key.yaml#/declares/msg/some-message/message-bindings/bindings/googlepubsub-message-010/googlepubsub-schemaDefinition-010 + Property: + Range: [(45,12)-(46,0)] + Location: file://amf-cli/shared/src/test/resources/validations/async20/validations/google-binding-wrong-key.yaml + +- Constraint: http://a.ml/vocabularies/amf/parser#closed-shape + Message: Property 'type' not supported in a ASYNC 2.5 GooglePubSubMessageSchema020 node + Severity: Violation + Target: file://amf-cli/shared/src/test/resources/validations/async20/validations/google-binding-wrong-key.yaml#/declares/msg/other-message/message-bindings/bindings/googlepubsub-message-020/googlepubsub-schemaDefinition-020 + Property: + Range: [(52,12)-(53,0)] + Location: file://amf-cli/shared/src/test/resources/validations/async20/validations/google-binding-wrong-key.yaml diff --git a/amf-cli/shared/src/test/resources/validations/reports/async20/google-binding-wrong-version.report b/amf-cli/shared/src/test/resources/validations/reports/async20/google-binding-wrong-version.report new file mode 100644 index 0000000000..ef4b397d97 --- /dev/null +++ b/amf-cli/shared/src/test/resources/validations/reports/async20/google-binding-wrong-version.report @@ -0,0 +1,22 @@ +ModelId: file://amf-cli/shared/src/test/resources/validations/async20/validations/google-binding-wrong-version.yaml +Profile: +Conforms: false +Number of results: 2 + +Level: Violation + +- Constraint: http://a.ml/vocabularies/amf/parser#unsupported-binding-version + Message: Version 9.9.9 is not supported in a GooglePubSub Channel Binding + Severity: Violation + Target: file://amf-cli/shared/src/test/resources/validations/async20/validations/google-binding-wrong-version.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/googlepubsub-channel-010 + Property: + Range: [(12,6)-(15,0)] + Location: file://amf-cli/shared/src/test/resources/validations/async20/validations/google-binding-wrong-version.yaml + +- Constraint: http://a.ml/vocabularies/amf/parser#unsupported-binding-version + Message: Version 9.9.9 is not supported in a GooglePubSub Message Binding + Severity: Violation + Target: file://amf-cli/shared/src/test/resources/validations/async20/validations/google-binding-wrong-version.yaml#/declares/msg/some-message/message-bindings/bindings/googlepubsub-message-010 + Property: + Range: [(19,8)-(21,0)] + Location: file://amf-cli/shared/src/test/resources/validations/async20/validations/google-binding-wrong-version.yaml diff --git a/amf-cli/shared/src/test/resources/validations/reports/async20/http-binding-references.report b/amf-cli/shared/src/test/resources/validations/reports/async20/http-binding-references.report new file mode 100644 index 0000000000..dbde38d348 --- /dev/null +++ b/amf-cli/shared/src/test/resources/validations/reports/async20/http-binding-references.report @@ -0,0 +1,22 @@ +ModelId: file://amf-cli/shared/src/test/resources/validations/async20/validations/http-binding-references.yaml +Profile: +Conforms: false +Number of results: 2 + +Level: Violation + +- Constraint: http://a.ml/vocabularies/amf/core#unresolved-reference + Message: Unresolved reference 'file://amf-cli/shared/src/test/resources/validations/async20/validations/http-binding-references.yaml#/components/schemas/invalidSchema' + Severity: Violation + Target: file://amf-cli/shared/src/test/resources/validations/async20/validations/http-binding-references.yaml#/async-api/endpoint/%2Ftest3/supportedOperation/subscribe/returns/resp/default-response/message-bindings/bindings/http-message-020/unresolved + Property: + Range: [(49,14)-(50,0)] + Location: file://amf-cli/shared/src/test/resources/validations/async20/validations/http-binding-references.yaml + +- Constraint: http://a.ml/vocabularies/amf/core#unresolved-reference + Message: Unresolved reference 'invalidSchema' + Severity: Violation + Target: file://amf-cli/shared/src/test/resources/validations/async20/validations/http-binding-references.yaml#/async-api/endpoint/%2Ftest3/supportedOperation/subscribe/operation-bindings/bindings/http-operation-010/unresolved + Property: + Range: [(55,12)-(58,0)] + Location: file://amf-cli/shared/src/test/resources/validations/async20/validations/http-binding-references.yaml diff --git a/amf-cli/shared/src/test/resources/validations/reports/async20/http-binding-wrong-binding-version.report b/amf-cli/shared/src/test/resources/validations/reports/async20/http-binding-wrong-binding-version.report new file mode 100644 index 0000000000..1af3156f2e --- /dev/null +++ b/amf-cli/shared/src/test/resources/validations/reports/async20/http-binding-wrong-binding-version.report @@ -0,0 +1,22 @@ +ModelId: file://amf-cli/shared/src/test/resources/validations/async20/validations/http-binding-wrong-binding-version.yaml +Profile: ASYNC 2.0 +Conforms: true +Number of results: 2 + +Level: Warning + +- Constraint: http://a.ml/vocabularies/amf/parser#unsupported-binding-version-warning + Message: Version 9.9.9 is not supported in a HTTP Message Binding + Severity: Warning + Target: file://amf-cli/shared/src/test/resources/validations/async20/validations/http-binding-wrong-binding-version.yaml#/async-api/endpoint/%2Finvalid/supportedOperation/subscribe/returns/resp/default-response/message-bindings/bindings/http-message-020 + Property: bindingVersion + Range: [(42,10)-(44,0)] + Location: file://amf-cli/shared/src/test/resources/validations/async20/validations/http-binding-wrong-binding-version.yaml + +- Constraint: http://a.ml/vocabularies/amf/parser#unsupported-binding-version-warning + Message: Version 9.9.9 is not supported in a HTTP Operation Binding + Severity: Warning + Target: file://amf-cli/shared/src/test/resources/validations/async20/validations/http-binding-wrong-binding-version.yaml#/async-api/endpoint/%2Finvalid/supportedOperation/subscribe/operation-bindings/bindings/http-operation-010 + Property: bindingVersion + Range: [(45,8)-(48,21)] + Location: file://amf-cli/shared/src/test/resources/validations/async20/validations/http-binding-wrong-binding-version.yaml diff --git a/amf-cli/shared/src/test/resources/validations/reports/async20/http-message-binding.report b/amf-cli/shared/src/test/resources/validations/reports/async20/http-message-binding.report new file mode 100644 index 0000000000..269cd1aafe --- /dev/null +++ b/amf-cli/shared/src/test/resources/validations/reports/async20/http-message-binding.report @@ -0,0 +1,30 @@ +ModelId: file://amf-cli/shared/src/test/resources/validations/async20/validations/http-message-binding.yaml +Profile: ASYNC 2.0 +Conforms: false +Number of results: 3 + +Level: Violation + +- Constraint: http://a.ml/vocabularies/amf/parser#HttpMessageBinding030-statusCode-pattern + Message: Status code for a Response must be a value between 100 and 599 + Severity: Violation + Target: file://amf-cli/shared/src/test/resources/validations/async20/validations/http-message-binding.yaml#/async-api/endpoint/%2Finvalid/supportedOperation/subscribe/returns/resp/default-response/message-bindings/bindings/http-message-030 + Property: http://a.ml/vocabularies/apiBinding#statusCode + Range: [(22,24)-(22,27)] + Location: file://amf-cli/shared/src/test/resources/validations/async20/validations/http-message-binding.yaml + +- Constraint: http://a.ml/vocabularies/amf/parser#HttpMessageBinding030-statusCode-pattern + Message: Status code for a Response must be a value between 100 and 599 + Severity: Violation + Target: file://amf-cli/shared/src/test/resources/validations/async20/validations/http-message-binding.yaml#/async-api/endpoint/%2Finvalid2/supportedOperation/subscribe/returns/resp/default-response/message-bindings/bindings/http-message-030 + Property: http://a.ml/vocabularies/apiBinding#statusCode + Range: [(30,24)-(30,27)] + Location: file://amf-cli/shared/src/test/resources/validations/async20/validations/http-message-binding.yaml + +- Constraint: http://a.ml/vocabularies/amf/parser#HttpMessageBinding030-statusCode-pattern + Message: Status code for a Response must be a value between 100 and 599 + Severity: Violation + Target: file://amf-cli/shared/src/test/resources/validations/async20/validations/http-message-binding.yaml#/async-api/endpoint/%2Finvalid3/supportedOperation/subscribe/returns/resp/default-response/message-bindings/bindings/http-message-030 + Property: http://a.ml/vocabularies/apiBinding#statusCode + Range: [(38,24)-(38,28)] + Location: file://amf-cli/shared/src/test/resources/validations/async20/validations/http-message-binding.yaml diff --git a/amf-cli/shared/src/test/resources/validations/reports/async20/http-message-headers.report b/amf-cli/shared/src/test/resources/validations/reports/async20/http-message-headers.report index c7dd685716..7eb700387f 100644 --- a/amf-cli/shared/src/test/resources/validations/reports/async20/http-message-headers.report +++ b/amf-cli/shared/src/test/resources/validations/reports/async20/http-message-headers.report @@ -5,10 +5,10 @@ Number of results: 1 Level: Violation -- Constraint: http://a.ml/vocabularies/amf/parser#HttpMessageBinding-headers-mandatoryHeadersObjectNodeWithPropertiesFacet +- Constraint: http://a.ml/vocabularies/amf/parser#HttpMessageBinding020-headers-mandatoryHeadersObjectNodeWithPropertiesFacet Message: 'headers' property of ws channel binding must be of type object and have properties Severity: Violation - Target: file://amf-cli/shared/src/test/resources/validations/async20/validations/http-message-headers.yaml#/async-api/endpoint/%2Finvalid/supportedOperation/subscribe/returns/resp/default-response/message-bindings/bindings/http-message + Target: file://amf-cli/shared/src/test/resources/validations/async20/validations/http-message-headers.yaml#/async-api/endpoint/%2Finvalid/supportedOperation/subscribe/returns/resp/default-response/message-bindings/bindings/http-message-020 Property: Range: [(10,10)-(13,0)] Location: file://amf-cli/shared/src/test/resources/validations/async20/validations/http-message-headers.yaml diff --git a/amf-cli/shared/src/test/resources/validations/reports/async20/http-operation-query.report b/amf-cli/shared/src/test/resources/validations/reports/async20/http-operation-query.report index d5636fe40d..7abfba8abf 100644 --- a/amf-cli/shared/src/test/resources/validations/reports/async20/http-operation-query.report +++ b/amf-cli/shared/src/test/resources/validations/reports/async20/http-operation-query.report @@ -5,10 +5,10 @@ Number of results: 1 Level: Violation -- Constraint: http://a.ml/vocabularies/amf/parser#HttpOperationBinding-query-mandatoryQueryObjectNodeWithPropertiesFacet +- Constraint: http://a.ml/vocabularies/amf/parser#HttpOperationBinding010-query-mandatoryQueryObjectNodeWithPropertiesFacet Message: 'headers' property of ws channel binding must be of type object and have properties Severity: Violation - Target: file://amf-cli/shared/src/test/resources/validations/async20/validations/http-operation-query.yaml#/async-api/endpoint/%2Finvalid/supportedOperation/publish/operation-bindings/bindings/http-operation + Target: file://amf-cli/shared/src/test/resources/validations/async20/validations/http-operation-query.yaml#/async-api/endpoint/%2Finvalid/supportedOperation/publish/operation-bindings/bindings/http-operation-010 Property: Range: [(9,8)-(13,0)] Location: file://amf-cli/shared/src/test/resources/validations/async20/validations/http-operation-query.yaml diff --git a/amf-cli/shared/src/test/resources/validations/reports/async20/invalid-component-names.report b/amf-cli/shared/src/test/resources/validations/reports/async20/invalid-component-names.report index cc8b0d7a66..50ad39d3b9 100644 --- a/amf-cli/shared/src/test/resources/validations/reports/async20/invalid-component-names.report +++ b/amf-cli/shared/src/test/resources/validations/reports/async20/invalid-component-names.report @@ -58,7 +58,7 @@ Level: Violation Severity: Violation Target: file://amf-cli/shared/src/test/resources/validations/async20/validations/invalid-component-names.yaml#/declares/some%23ServerBinding Property: - Range: [(82,4)-(88,0)] + Range: [(82,4)-(87,0)] Location: file://amf-cli/shared/src/test/resources/validations/async20/validations/invalid-component-names.yaml - Constraint: http://a.ml/vocabularies/amf/parser#invalid-field-name-in-components @@ -66,7 +66,7 @@ Level: Violation Severity: Violation Target: file://amf-cli/shared/src/test/resources/validations/async20/validations/invalid-component-names.yaml#/declares/some%23OperationBinding Property: - Range: [(96,4)-(105,0)] + Range: [(94,4)-(103,0)] Location: file://amf-cli/shared/src/test/resources/validations/async20/validations/invalid-component-names.yaml - Constraint: http://a.ml/vocabularies/amf/parser#invalid-field-name-in-components @@ -74,7 +74,7 @@ Level: Violation Severity: Violation Target: file://amf-cli/shared/src/test/resources/validations/async20/validations/invalid-component-names.yaml#/declares/some%23ChannelBinding Property: - Range: [(116,4)-(119,0)] + Range: [(114,4)-(117,0)] Location: file://amf-cli/shared/src/test/resources/validations/async20/validations/invalid-component-names.yaml - Constraint: http://a.ml/vocabularies/amf/parser#invalid-field-name-in-components @@ -82,7 +82,7 @@ Level: Violation Severity: Violation Target: file://amf-cli/shared/src/test/resources/validations/async20/validations/invalid-component-names.yaml#/declares/first%23Trait Property: - Range: [(124,4)-(126,0)] + Range: [(122,4)-(124,0)] Location: file://amf-cli/shared/src/test/resources/validations/async20/validations/invalid-component-names.yaml - Constraint: http://a.ml/vocabularies/amf/parser#invalid-field-name-in-components @@ -90,5 +90,5 @@ Level: Violation Severity: Violation Target: file://amf-cli/shared/src/test/resources/validations/async20/validations/invalid-component-names.yaml#/declares/msg/message%23trait Property: - Range: [(130,4)-(132,0)] + Range: [(128,4)-(130,0)] Location: file://amf-cli/shared/src/test/resources/validations/async20/validations/invalid-component-names.yaml diff --git a/amf-cli/shared/src/test/resources/validations/reports/async20/invalid-header-names.report b/amf-cli/shared/src/test/resources/validations/reports/async20/invalid-header-names.report index 9bb9863394..f368ac6392 100644 --- a/amf-cli/shared/src/test/resources/validations/reports/async20/invalid-header-names.report +++ b/amf-cli/shared/src/test/resources/validations/reports/async20/invalid-header-names.report @@ -8,7 +8,7 @@ Level: Warning - Constraint: http://a.ml/vocabularies/amf/parser#mandatory-header-name-pattern Message: Header name must comply RFC-7230 Severity: Warning - Target: file://amf-cli/shared/src/test/resources/validations/async20/validations/invalid-header-names.yaml#/async-api/endpoint/%2Ftest/supportedOperation/publish/expects/request/message-bindings/bindings/http-message + Target: file://amf-cli/shared/src/test/resources/validations/async20/validations/invalid-header-names.yaml#/async-api/endpoint/%2Ftest/supportedOperation/publish/expects/request/message-bindings/bindings/http-message-020 Property: http://www.w3.org/ns/shacl#name Range: [(10,10)-(18,35)] Location: file://amf-cli/shared/src/test/resources/validations/async20/validations/invalid-header-names.yaml diff --git a/amf-cli/shared/src/test/resources/validations/reports/async20/invalid-httpOperationBinding-type.report b/amf-cli/shared/src/test/resources/validations/reports/async20/invalid-httpOperationBinding-type.report new file mode 100644 index 0000000000..907e7d34b3 --- /dev/null +++ b/amf-cli/shared/src/test/resources/validations/reports/async20/invalid-httpOperationBinding-type.report @@ -0,0 +1,14 @@ +ModelId: file://amf-cli/shared/src/test/resources/validations/async20/validations/invalid-httpOperationBinding-type.yaml +Profile: +Conforms: false +Number of results: 1 + +Level: Violation + +- Constraint: http://a.ml/vocabularies/amf/parser#closed-shape + Message: Property 'type' not supported in a ASYNC 2.0 httpOperationBinding020 node + Severity: Violation + Target: file://amf-cli/shared/src/test/resources/validations/async20/validations/invalid-httpOperationBinding-type.yaml#/async-api/endpoint/%2Ftest3/supportedOperation/subscribe/operation-bindings/bindings/http-operation-020 + Property: + Range: [(13,10)-(14,0)] + Location: file://amf-cli/shared/src/test/resources/validations/async20/validations/invalid-httpOperationBinding-type.yaml diff --git a/amf-cli/shared/src/test/resources/validations/reports/async20/last-will-qos.report b/amf-cli/shared/src/test/resources/validations/reports/async20/last-will-qos.report index 0da6a7a3ba..329cb356bd 100644 --- a/amf-cli/shared/src/test/resources/validations/reports/async20/last-will-qos.report +++ b/amf-cli/shared/src/test/resources/validations/reports/async20/last-will-qos.report @@ -8,7 +8,7 @@ Level: Violation - Constraint: http://a.ml/vocabularies/amf/parser#MqttServerLastWill-qos-pattern Message: 'qos' for mqtt server last will binding object must be one 0, 1 or 2 Severity: Violation - Target: file://amf-cli/shared/src/test/resources/validations/async20/validations/last-will-qos.yaml#/async-api/server/something/server-bindings/bindings/mqtt-server/mqtt-last-will + Target: file://amf-cli/shared/src/test/resources/validations/async20/validations/last-will-qos.yaml#/async-api/server/something/server-bindings/bindings/mqtt-server-010/mqtt-last-will Property: http://a.ml/vocabularies/apiBinding#qos Range: [(34,15)-(34,16)] Location: file://amf-cli/shared/src/test/resources/validations/async20/validations/last-will-qos.yaml diff --git a/amf-cli/shared/src/test/resources/validations/reports/async20/mqtt-message-binding-format.report b/amf-cli/shared/src/test/resources/validations/reports/async20/mqtt-message-binding-format.report new file mode 100644 index 0000000000..4aa18e1898 --- /dev/null +++ b/amf-cli/shared/src/test/resources/validations/reports/async20/mqtt-message-binding-format.report @@ -0,0 +1,14 @@ +ModelId: file://amf-cli/shared/src/test/resources/validations/async20/validations/mqtt-message-binding-format.yaml +Profile: ASYNC 2.0 +Conforms: false +Number of results: 1 + +Level: Violation + +- Constraint: http://a.ml/vocabularies/amf/parser#MqttMessageBinding020-payloadFormatIndicator-pattern + Message: 'payloadFormatIndicator' for mqtt message binding must be 0 or 1 + Severity: Violation + Target: file://amf-cli/shared/src/test/resources/validations/async20/validations/mqtt-message-binding-format.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/message-bindings/bindings/mqtt-message-020 + Property: http://a.ml/vocabularies/apiBinding#payloadFormatIndicator + Range: [(12,36)-(12,39)] + Location: file://amf-cli/shared/src/test/resources/validations/async20/validations/mqtt-message-binding-format.yaml diff --git a/amf-cli/shared/src/test/resources/validations/reports/async20/mqtt-message-binding-refs.report b/amf-cli/shared/src/test/resources/validations/reports/async20/mqtt-message-binding-refs.report new file mode 100644 index 0000000000..b96511da6f --- /dev/null +++ b/amf-cli/shared/src/test/resources/validations/reports/async20/mqtt-message-binding-refs.report @@ -0,0 +1,22 @@ +ModelId: file://amf-cli/shared/src/test/resources/validations/async20/validations/mqtt-message-binding-refs.yaml +Profile: +Conforms: false +Number of results: 2 + +Level: Violation + +- Constraint: http://a.ml/vocabularies/amf/core#unresolved-reference + Message: Cannot find link reference #/components/schemas/invalidRef + Severity: Violation + Target: file://amf-cli/shared/src/test/resources/validations/async20/validations/mqtt-message-binding-refs.yaml#/async-api/endpoint/some-other-channel/supportedOperation/publish/expects/request/message-bindings/bindings/mqtt-message-020 + Property: + Range: [(39,12)-(41,0)] + Location: file://amf-cli/shared/src/test/resources/validations/async20/validations/mqtt-message-binding-refs.yaml + +- Constraint: http://a.ml/vocabularies/amf/core#unresolved-reference + Message: Cannot find link reference #/components/schemas/invalidRef + Severity: Violation + Target: file://amf-cli/shared/src/test/resources/validations/async20/validations/mqtt-message-binding-refs.yaml#/async-api/endpoint/some-other-channel/supportedOperation/publish/expects/request/message-bindings/bindings/mqtt-message-020 + Property: + Range: [(42,12)-(44,0)] + Location: file://amf-cli/shared/src/test/resources/validations/async20/validations/mqtt-message-binding-refs.yaml diff --git a/amf-cli/shared/src/test/resources/validations/reports/async20/mqtt-operation-binding-qos.report b/amf-cli/shared/src/test/resources/validations/reports/async20/mqtt-operation-binding-qos.report index 61d7ddb1bc..2503665ad8 100644 --- a/amf-cli/shared/src/test/resources/validations/reports/async20/mqtt-operation-binding-qos.report +++ b/amf-cli/shared/src/test/resources/validations/reports/async20/mqtt-operation-binding-qos.report @@ -5,10 +5,10 @@ Number of results: 1 Level: Violation -- Constraint: http://a.ml/vocabularies/amf/parser#MqttOperationBinding-qos-pattern +- Constraint: http://a.ml/vocabularies/amf/parser#MqttOperationBinding010-qos-pattern Message: 'qos' for mqtt operation binding object must be one of 0, 1 or 2 Severity: Violation - Target: file://amf-cli/shared/src/test/resources/validations/async20/validations/mqtt-operation-binding-qos.yaml#/async-api/endpoint/%2Finvalid/supportedOperation/subscribe/operation-bindings/bindings/mqtt-operation + Target: file://amf-cli/shared/src/test/resources/validations/async20/validations/mqtt-operation-binding-qos.yaml#/async-api/endpoint/%2Finvalid/supportedOperation/subscribe/operation-bindings/bindings/mqtt-operation-010 Property: http://a.ml/vocabularies/apiBinding#qos Range: [(25,15)-(25,16)] Location: file://amf-cli/shared/src/test/resources/validations/async20/validations/mqtt-operation-binding-qos.yaml diff --git a/amf-cli/shared/src/test/resources/validations/reports/async20/mqtt-server-binding-schemas.report b/amf-cli/shared/src/test/resources/validations/reports/async20/mqtt-server-binding-schemas.report new file mode 100644 index 0000000000..d80c010aee --- /dev/null +++ b/amf-cli/shared/src/test/resources/validations/reports/async20/mqtt-server-binding-schemas.report @@ -0,0 +1,22 @@ +ModelId: file://amf-cli/shared/src/test/resources/validations/async20/validations/mqtt-server-binding-schemas.yaml +Profile: +Conforms: false +Number of results: 2 + +Level: Violation + +- Constraint: http://a.ml/vocabularies/amf/core#unresolved-reference + Message: Cannot find link reference #/components/schemas/invalidRef + Severity: Violation + Target: file://amf-cli/shared/src/test/resources/validations/async20/validations/mqtt-server-binding-schemas.yaml#/async-api/server/http%3A%2F%2Fsome.com_1/server-bindings/bindings/mqtt-server-020 + Property: + Range: [(26,8)-(28,0)] + Location: file://amf-cli/shared/src/test/resources/validations/async20/validations/mqtt-server-binding-schemas.yaml + +- Constraint: http://a.ml/vocabularies/amf/core#unresolved-reference + Message: Cannot find link reference #/components/schemas/invalidRef + Severity: Violation + Target: file://amf-cli/shared/src/test/resources/validations/async20/validations/mqtt-server-binding-schemas.yaml#/async-api/server/http%3A%2F%2Fsome.com_1/server-bindings/bindings/mqtt-server-020 + Property: + Range: [(28,8)-(31,0)] + Location: file://amf-cli/shared/src/test/resources/validations/async20/validations/mqtt-server-binding-schemas.yaml diff --git a/amf-cli/shared/src/test/resources/validations/reports/async20/pulsar-binding-extra-key.report b/amf-cli/shared/src/test/resources/validations/reports/async20/pulsar-binding-extra-key.report index 81b9a745ee..aec7b8670f 100644 --- a/amf-cli/shared/src/test/resources/validations/reports/async20/pulsar-binding-extra-key.report +++ b/amf-cli/shared/src/test/resources/validations/reports/async20/pulsar-binding-extra-key.report @@ -16,7 +16,7 @@ Level: Violation - Constraint: http://a.ml/vocabularies/amf/parser#closed-shape Message: Property 'thisKeyIsNotAllowed' not supported in a ASYNC 2.6 PulsarChannelRetention node Severity: Violation - Target: file://amf-cli/shared/src/test/resources/validations/async20/validations/pulsar-binding-extra-key.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/pulsar-operation/pulsar-retention + Target: file://amf-cli/shared/src/test/resources/validations/async20/validations/pulsar-binding-extra-key.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/pulsar-channel/pulsar-retention Property: Range: [(28,10)-(29,0)] Location: file://amf-cli/shared/src/test/resources/validations/async20/validations/pulsar-binding-extra-key.yaml @@ -24,7 +24,7 @@ Level: Violation - Constraint: http://a.ml/vocabularies/amf/parser#closed-shape Message: Property 'thisKeyIsNotAllowed' not supported in a ASYNC 2.6 PulsarChannelBinding node Severity: Violation - Target: file://amf-cli/shared/src/test/resources/validations/async20/validations/pulsar-binding-extra-key.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/pulsar-operation + Target: file://amf-cli/shared/src/test/resources/validations/async20/validations/pulsar-binding-extra-key.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/pulsar-channel Property: Range: [(32,8)-(33,0)] Location: file://amf-cli/shared/src/test/resources/validations/async20/validations/pulsar-binding-extra-key.yaml diff --git a/amf-cli/shared/src/test/resources/validations/reports/async20/pulsar-binding-missing-key.report b/amf-cli/shared/src/test/resources/validations/reports/async20/pulsar-binding-missing-key.report index 0e9485d638..9fa682051e 100644 --- a/amf-cli/shared/src/test/resources/validations/reports/async20/pulsar-binding-missing-key.report +++ b/amf-cli/shared/src/test/resources/validations/reports/async20/pulsar-binding-missing-key.report @@ -8,7 +8,7 @@ Level: Violation - Constraint: http://a.ml/vocabularies/amf/parser#required-field Message: field 'namespace' is required in a Pulsar Channel Binding Severity: Violation - Target: file://amf-cli/shared/src/test/resources/validations/async20/validations/pulsar-binding-missing-key.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/pulsar-operation + Target: file://amf-cli/shared/src/test/resources/validations/async20/validations/pulsar-binding-missing-key.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/pulsar-channel Property: Range: Location: file://amf-cli/shared/src/test/resources/validations/async20/validations/pulsar-binding-missing-key.yaml @@ -16,7 +16,7 @@ Level: Violation - Constraint: http://a.ml/vocabularies/amf/parser#required-field Message: field 'persistence' is required in a Pulsar Channel Binding Severity: Violation - Target: file://amf-cli/shared/src/test/resources/validations/async20/validations/pulsar-binding-missing-key.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/pulsar-operation + Target: file://amf-cli/shared/src/test/resources/validations/async20/validations/pulsar-binding-missing-key.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/pulsar-channel Property: Range: Location: file://amf-cli/shared/src/test/resources/validations/async20/validations/pulsar-binding-missing-key.yaml diff --git a/amf-cli/shared/src/test/resources/validations/reports/async20/required-httpOperationBinding-method-values.report b/amf-cli/shared/src/test/resources/validations/reports/async20/required-httpOperationBinding-method-values.report index abab6caf93..eb373141e7 100644 --- a/amf-cli/shared/src/test/resources/validations/reports/async20/required-httpOperationBinding-method-values.report +++ b/amf-cli/shared/src/test/resources/validations/reports/async20/required-httpOperationBinding-method-values.report @@ -5,10 +5,10 @@ Number of results: 1 Level: Violation -- Constraint: http://a.ml/vocabularies/amf/parser#HttpOperationBinding-method-in +- Constraint: http://a.ml/vocabularies/amf/parser#HttpOperationBinding010-method-in Message: 'method' for http operation binding object must be one of 'GET','POST','PUT','PATCH','DELETE','HEAD','OPTIONS','CONNECT','TRACE' Severity: Violation - Target: file://amf-cli/shared/src/test/resources/validations/async20/validations/required-httpOperationBinding-method-values.yaml#/async-api/endpoint/%2Finvalid/supportedOperation/subscribe/operation-bindings/bindings/http-operation + Target: file://amf-cli/shared/src/test/resources/validations/async20/validations/required-httpOperationBinding-method-values.yaml#/async-api/endpoint/%2Finvalid/supportedOperation/subscribe/operation-bindings/bindings/http-operation-010 Property: http://a.ml/vocabularies/apiBinding#method Range: [(23,18)-(23,25)] Location: file://amf-cli/shared/src/test/resources/validations/async20/validations/required-httpOperationBinding-method-values.yaml diff --git a/amf-cli/shared/src/test/resources/validations/reports/async20/required-httpOperationBinding-type-values.report b/amf-cli/shared/src/test/resources/validations/reports/async20/required-httpOperationBinding-type-values.report index 94873d4dcb..6b4785b7d8 100644 --- a/amf-cli/shared/src/test/resources/validations/reports/async20/required-httpOperationBinding-type-values.report +++ b/amf-cli/shared/src/test/resources/validations/reports/async20/required-httpOperationBinding-type-values.report @@ -5,10 +5,10 @@ Number of results: 1 Level: Violation -- Constraint: http://a.ml/vocabularies/amf/parser#HttpOperationBinding-operationType-pattern +- Constraint: http://a.ml/vocabularies/amf/parser#HttpOperationBinding010-operationType-pattern Message: Http operation binding must be either 'request' or 'response' Severity: Violation - Target: file://amf-cli/shared/src/test/resources/validations/async20/validations/required-httpOperationBinding-type-values.yaml#/async-api/endpoint/%2Finvalid/supportedOperation/subscribe/operation-bindings/bindings/http-operation + Target: file://amf-cli/shared/src/test/resources/validations/async20/validations/required-httpOperationBinding-type-values.yaml#/async-api/endpoint/%2Finvalid/supportedOperation/subscribe/operation-bindings/bindings/http-operation-010 Property: http://a.ml/vocabularies/apiBinding#operationType Range: [(22,16)-(22,27)] Location: file://amf-cli/shared/src/test/resources/validations/async20/validations/required-httpOperationBinding-type-values.yaml diff --git a/amf-cli/shared/src/test/resources/validations/reports/async20/required-httpOperationBinding-type.report b/amf-cli/shared/src/test/resources/validations/reports/async20/required-httpOperationBinding-type.report index 0f40a856dc..5e4ffe426c 100644 --- a/amf-cli/shared/src/test/resources/validations/reports/async20/required-httpOperationBinding-type.report +++ b/amf-cli/shared/src/test/resources/validations/reports/async20/required-httpOperationBinding-type.report @@ -5,10 +5,10 @@ Number of results: 1 Level: Violation -- Constraint: http://a.ml/vocabularies/amf/parser#HttpOperationBinding-operationType-minCount +- Constraint: http://a.ml/vocabularies/amf/parser#HttpOperationBinding010-operationType-minCount Message: 'type' for http operation binding is required Severity: Violation - Target: file://amf-cli/shared/src/test/resources/validations/async20/validations/required-httpOperationBinding-type.yaml#/async-api/endpoint/%2Femployees/supportedOperation/subscribe/operation-bindings/bindings/http-operation + Target: file://amf-cli/shared/src/test/resources/validations/async20/validations/required-httpOperationBinding-type.yaml#/async-api/endpoint/%2Ftest1/supportedOperation/subscribe/operation-bindings/bindings/http-operation-010 Property: http://a.ml/vocabularies/apiBinding#operationType - Range: [(9,8)-(11,0)] + Range: [(9,8)-(12,0)] Location: file://amf-cli/shared/src/test/resources/validations/async20/validations/required-httpOperationBinding-type.yaml diff --git a/amf-cli/shared/src/test/resources/validations/reports/async20/solace-0.4.0-invalid.report b/amf-cli/shared/src/test/resources/validations/reports/async20/solace-0.4.0-invalid.report new file mode 100644 index 0000000000..b61b7c01cc --- /dev/null +++ b/amf-cli/shared/src/test/resources/validations/reports/async20/solace-0.4.0-invalid.report @@ -0,0 +1,46 @@ +ModelId: file://amf-cli/shared/src/test/resources/validations/async20/validations/solace-0.4.0-invalid.yaml +Profile: +Conforms: false +Number of results: 5 + +Level: Violation + +- Constraint: http://a.ml/vocabularies/amf/parser#closed-shape + Message: Property 'clientName' not supported in a ASYNC 2.3 SolaceServerBinding010 node + Severity: Violation + Target: file://amf-cli/shared/src/test/resources/validations/async20/validations/solace-0.4.0-invalid.yaml#/async-api/server/some.com/server-bindings/bindings/solace-server-binding-010 + Property: + Range: [(12,8)-(13,0)] + Location: file://amf-cli/shared/src/test/resources/validations/async20/validations/solace-0.4.0-invalid.yaml + +- Constraint: http://a.ml/vocabularies/amf/parser#unsupported-binding-version + Message: Version 9.9.9 is not supported in a Solace Operation Binding + Severity: Violation + Target: file://amf-cli/shared/src/test/resources/validations/async20/validations/solace-0.4.0-invalid.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/solace-operation-030 + Property: + Range: [(18,8)-(38,0)] + Location: file://amf-cli/shared/src/test/resources/validations/async20/validations/solace-0.4.0-invalid.yaml + +- Constraint: http://a.ml/vocabularies/amf/parser#closed-shape + Message: Property 'timeToLive' not supported in a ASYNC 2.3 SolaceOperationBinding010 node + Severity: Violation + Target: file://amf-cli/shared/src/test/resources/validations/async20/validations/solace-0.4.0-invalid.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/solace-operation-030 + Property: + Range: [(35,10)-(36,0)] + Location: file://amf-cli/shared/src/test/resources/validations/async20/validations/solace-0.4.0-invalid.yaml + +- Constraint: http://a.ml/vocabularies/amf/parser#closed-shape + Message: Property 'priority' not supported in a ASYNC 2.3 SolaceOperationBinding010 node + Severity: Violation + Target: file://amf-cli/shared/src/test/resources/validations/async20/validations/solace-0.4.0-invalid.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/solace-operation-030 + Property: + Range: [(36,10)-(37,0)] + Location: file://amf-cli/shared/src/test/resources/validations/async20/validations/solace-0.4.0-invalid.yaml + +- Constraint: http://a.ml/vocabularies/amf/parser#closed-shape + Message: Property 'dmqEligible' not supported in a ASYNC 2.3 SolaceOperationBinding010 node + Severity: Violation + Target: file://amf-cli/shared/src/test/resources/validations/async20/validations/solace-0.4.0-invalid.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/solace-operation-030 + Property: + Range: [(37,10)-(38,0)] + Location: file://amf-cli/shared/src/test/resources/validations/async20/validations/solace-0.4.0-invalid.yaml diff --git a/amf-cli/shared/src/test/resources/validations/reports/async20/solace-binding-extra-key.report b/amf-cli/shared/src/test/resources/validations/reports/async20/solace-binding-extra-key.report index 0e36f6a039..96d35cbf1b 100644 --- a/amf-cli/shared/src/test/resources/validations/reports/async20/solace-binding-extra-key.report +++ b/amf-cli/shared/src/test/resources/validations/reports/async20/solace-binding-extra-key.report @@ -6,17 +6,17 @@ Number of results: 4 Level: Violation - Constraint: http://a.ml/vocabularies/amf/parser#closed-shape - Message: Property 'thisKeyIsNotAllowed' not supported in a ASYNC 2.3 SolaceServerBinding node + Message: Property 'thisKeyIsNotAllowed' not supported in a ASYNC 2.3 SolaceServerBinding010 node Severity: Violation - Target: file://amf-cli/shared/src/test/resources/validations/async20/validations/solace-binding-extra-key.yaml#/async-api/server/some.com/server-bindings/bindings/solace-server + Target: file://amf-cli/shared/src/test/resources/validations/async20/validations/solace-binding-extra-key.yaml#/async-api/server/some.com/server-bindings/bindings/solace-server-binding-010 Property: Range: [(13,8)-(14,0)] Location: file://amf-cli/shared/src/test/resources/validations/async20/validations/solace-binding-extra-key.yaml - Constraint: http://a.ml/vocabularies/amf/parser#closed-shape - Message: Property 'thisKeyIsNotAllowed' not supported in a ASYNC 2.3 SolaceOperationQueue node + Message: Property 'thisKeyIsNotAllowed' not supported in a ASYNC 2.3 SolaceOperationQueue010 node Severity: Violation - Target: file://amf-cli/shared/src/test/resources/validations/async20/validations/solace-binding-extra-key.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination/solace-queue + Target: file://amf-cli/shared/src/test/resources/validations/async20/validations/solace-binding-extra-key.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/solace-operation-020/destinations/solace-operation-destination-020/solace-operation-queue-010 Property: Range: [(24,16)-(25,0)] Location: file://amf-cli/shared/src/test/resources/validations/async20/validations/solace-binding-extra-key.yaml @@ -24,15 +24,15 @@ Level: Violation - Constraint: http://a.ml/vocabularies/amf/parser#closed-shape Message: Property 'thisKeyIsNotAllowed' not supported in a ASYNC 2.3 SolaceOperationTopic node Severity: Violation - Target: file://amf-cli/shared/src/test/resources/validations/async20/validations/solace-binding-extra-key.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination_1/solace-topic + Target: file://amf-cli/shared/src/test/resources/validations/async20/validations/solace-binding-extra-key.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/solace-operation-020/destinations/solace-operation-destination-020_1/solace-topic Property: Range: [(29,16)-(30,0)] Location: file://amf-cli/shared/src/test/resources/validations/async20/validations/solace-binding-extra-key.yaml - Constraint: http://a.ml/vocabularies/amf/parser#closed-shape - Message: Property 'thisKeyIsNotAllowed' not supported in a ASYNC 2.3 SolaceOperationBinding node + Message: Property 'thisKeyIsNotAllowed' not supported in a ASYNC 2.3 SolaceOperationBinding010 node Severity: Violation - Target: file://amf-cli/shared/src/test/resources/validations/async20/validations/solace-binding-extra-key.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/solace-operation + Target: file://amf-cli/shared/src/test/resources/validations/async20/validations/solace-binding-extra-key.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/solace-operation-020 Property: - Range: [(32,10)-(32,60)] + Range: [(32,10)-(33,0)] Location: file://amf-cli/shared/src/test/resources/validations/async20/validations/solace-binding-extra-key.yaml diff --git a/amf-cli/shared/src/test/resources/validations/reports/async20/solace-binding-validations.report b/amf-cli/shared/src/test/resources/validations/reports/async20/solace-binding-validations.report index 27ce744991..83b927866b 100644 --- a/amf-cli/shared/src/test/resources/validations/reports/async20/solace-binding-validations.report +++ b/amf-cli/shared/src/test/resources/validations/reports/async20/solace-binding-validations.report @@ -5,26 +5,26 @@ Number of results: 3 Level: Violation -- Constraint: http://a.ml/vocabularies/amf/parser#SolaceOperationDestination-destinationType-in +- Constraint: http://a.ml/vocabularies/amf/parser#SolaceOperationDestination020-destinationType-in Message: Invalid 'destinationType' value. The options are: 'queue' or 'topic'. Severity: Violation - Target: file://amf-cli/shared/src/test/resources/validations/async20/validations/solace-binding-validations.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination + Target: file://amf-cli/shared/src/test/resources/validations/async20/validations/solace-binding-validations.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/solace-operation-020/destinations/solace-operation-destination-020 Property: http://a.ml/vocabularies/apiBinding#destinationType Range: [(20,31)-(20,52)] Location: file://amf-cli/shared/src/test/resources/validations/async20/validations/solace-binding-validations.yaml -- Constraint: http://a.ml/vocabularies/amf/parser#SolaceOperationDestination-deliveryMode-in +- Constraint: http://a.ml/vocabularies/amf/parser#SolaceOperationDestination020-deliveryMode-in Message: Invalid 'deliveryMode' value. The options are: 'direct' or 'persistent'. Severity: Violation - Target: file://amf-cli/shared/src/test/resources/validations/async20/validations/solace-binding-validations.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination + Target: file://amf-cli/shared/src/test/resources/validations/async20/validations/solace-binding-validations.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/solace-operation-020/destinations/solace-operation-destination-020 Property: http://a.ml/vocabularies/apiBinding#deliveryMode Range: [(21,28)-(21,46)] Location: file://amf-cli/shared/src/test/resources/validations/async20/validations/solace-binding-validations.yaml -- Constraint: http://a.ml/vocabularies/amf/parser#SolaceOperationQueue-accessType-in +- Constraint: http://a.ml/vocabularies/amf/parser#SolaceOperationQueue010-accessType-in Message: Invalid 'accessType' value. The options are: 'exclusive' or 'nonexclusive'. Severity: Violation - Target: file://amf-cli/shared/src/test/resources/validations/async20/validations/solace-binding-validations.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/solace-operation/destinations/solace-destination/solace-queue + Target: file://amf-cli/shared/src/test/resources/validations/async20/validations/solace-binding-validations.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/solace-operation-020/destinations/solace-operation-destination-020/solace-operation-queue-010 Property: http://a.ml/vocabularies/apiBinding#accessType Range: [(24,28)-(24,44)] Location: file://amf-cli/shared/src/test/resources/validations/async20/validations/solace-binding-validations.yaml diff --git a/amf-cli/shared/src/test/resources/validations/reports/async20/solace-invalid-queue-version.report b/amf-cli/shared/src/test/resources/validations/reports/async20/solace-invalid-queue-version.report new file mode 100644 index 0000000000..c30bfe19dc --- /dev/null +++ b/amf-cli/shared/src/test/resources/validations/reports/async20/solace-invalid-queue-version.report @@ -0,0 +1,14 @@ +ModelId: file://amf-cli/shared/src/test/resources/validations/async20/validations/solace-invalid-queue-version.yaml +Profile: +Conforms: false +Number of results: 1 + +Level: Violation + +- Constraint: http://a.ml/vocabularies/amf/parser#unsupported-binding-version + Message: Version 9.9.9 is not supported in a Solace Operation Binding + Severity: Violation + Target: file://amf-cli/shared/src/test/resources/validations/async20/validations/solace-invalid-queue-version.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/solace-operation-030 + Property: + Range: [(17,8)-(34,0)] + Location: file://amf-cli/shared/src/test/resources/validations/async20/validations/solace-invalid-queue-version.yaml diff --git a/amf-cli/shared/src/test/resources/validations/reports/async20/solace-wrong-binding-version.report b/amf-cli/shared/src/test/resources/validations/reports/async20/solace-wrong-binding-version.report new file mode 100644 index 0000000000..f3e1b299cb --- /dev/null +++ b/amf-cli/shared/src/test/resources/validations/reports/async20/solace-wrong-binding-version.report @@ -0,0 +1,30 @@ +ModelId: file://amf-cli/shared/src/test/resources/validations/async20/validations/solace-wrong-binding-version.yaml +Profile: +Conforms: false +Number of results: 3 + +Level: Violation + +- Constraint: http://a.ml/vocabularies/amf/parser#unsupported-binding-version + Message: Version 9.9.9 is not supported in a Solace Server Binding + Severity: Violation + Target: file://amf-cli/shared/src/test/resources/validations/async20/validations/solace-wrong-binding-version.yaml#/async-api/server/solace.example.com/server-bindings/bindings/solace-server-binding-010 + Property: + Range: [(13,6)-(16,0)] + Location: file://amf-cli/shared/src/test/resources/validations/async20/validations/solace-wrong-binding-version.yaml + +- Constraint: http://a.ml/vocabularies/amf/parser#closed-shape + Message: Property 'invalidKey' not supported in a ASYNC 2.4 SolaceServerBinding010 node + Severity: Violation + Target: file://amf-cli/shared/src/test/resources/validations/async20/validations/solace-wrong-binding-version.yaml#/async-api/server/solace.example.com_1/server-bindings/bindings/solace-server-binding-010 + Property: + Range: [(23,8)-(24,0)] + Location: file://amf-cli/shared/src/test/resources/validations/async20/validations/solace-wrong-binding-version.yaml + +- Constraint: http://a.ml/vocabularies/amf/parser#closed-shape + Message: Property 'topic' not supported in a ASYNC 2.4 SolaceOperationDestination010 node + Severity: Violation + Target: file://amf-cli/shared/src/test/resources/validations/async20/validations/solace-wrong-binding-version.yaml#/async-api/endpoint/user%2Fcreated/supportedOperation/publish/publishUserId/operation-bindings/bindings/solace-operation-010/destinations/solace-operation-destination-010 + Property: + Range: [(40,14)-(43,0)] + Location: file://amf-cli/shared/src/test/resources/validations/async20/validations/solace-wrong-binding-version.yaml diff --git a/amf-cli/shared/src/test/resources/validations/reports/async20/solace-wrong-queue-version.report b/amf-cli/shared/src/test/resources/validations/reports/async20/solace-wrong-queue-version.report new file mode 100644 index 0000000000..ca839e95bc --- /dev/null +++ b/amf-cli/shared/src/test/resources/validations/reports/async20/solace-wrong-queue-version.report @@ -0,0 +1,22 @@ +ModelId: file://amf-cli/shared/src/test/resources/validations/async20/validations/solace-wrong-queue-version.yaml +Profile: +Conforms: false +Number of results: 2 + +Level: Violation + +- Constraint: http://a.ml/vocabularies/amf/parser#closed-shape + Message: Property 'maxMsgSpoolSize' not supported in a ASYNC 2.3 SolaceOperationQueue010 node + Severity: Violation + Target: file://amf-cli/shared/src/test/resources/validations/async20/validations/solace-wrong-queue-version.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/solace-operation-020/destinations/solace-operation-destination-020/solace-operation-queue-010 + Property: + Range: [(27,16)-(28,0)] + Location: file://amf-cli/shared/src/test/resources/validations/async20/validations/solace-wrong-queue-version.yaml + +- Constraint: http://a.ml/vocabularies/amf/parser#closed-shape + Message: Property 'maxTtl' not supported in a ASYNC 2.3 SolaceOperationQueue010 node + Severity: Violation + Target: file://amf-cli/shared/src/test/resources/validations/async20/validations/solace-wrong-queue-version.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/solace-operation-020/destinations/solace-operation-destination-020/solace-operation-queue-010 + Property: + Range: [(28,16)-(29,0)] + Location: file://amf-cli/shared/src/test/resources/validations/async20/validations/solace-wrong-queue-version.yaml diff --git a/amf-cli/shared/src/test/scala/amf/cli/internal/convert/WrapperTests.scala b/amf-cli/shared/src/test/scala/amf/cli/internal/convert/WrapperTests.scala index af404a8edb..982cd2d239 100644 --- a/amf-cli/shared/src/test/scala/amf/cli/internal/convert/WrapperTests.scala +++ b/amf-cli/shared/src/test/scala/amf/cli/internal/convert/WrapperTests.scala @@ -2295,10 +2295,11 @@ trait WrapperTests extends MultiJsonldAsyncFunSuite with Matchers with NativeOps def getAbsolutePath(path: String): String protected def configFor(spec: Spec) = spec match { - case Spec.RAML10 => RAMLConfiguration.RAML10() - case Spec.RAML08 => RAMLConfiguration.RAML08() - case Spec.OAS20 => OASConfiguration.OAS20() - case Spec.OAS30 => OASConfiguration.OAS30() - case Spec.ASYNC20 => AsyncAPIConfiguration.Async20() + case Spec.RAML10 => RAMLConfiguration.RAML10() + case Spec.RAML08 => RAMLConfiguration.RAML08() + case Spec.OAS20 => OASConfiguration.OAS20() + case Spec.OAS30 => OASConfiguration.OAS30() + case Spec.ASYNC20 | Spec.ASYNC21 | Spec.ASYNC22 | Spec.ASYNC23 | Spec.ASYNC24 | Spec.ASYNC25 | Spec.ASYNC26 => + AsyncAPIConfiguration.Async20() } } diff --git a/amf-cli/shared/src/test/scala/amf/emit/Async20CycleTest.scala b/amf-cli/shared/src/test/scala/amf/emit/Async20CycleTest.scala index 5b24dc1101..de9cf130a9 100644 --- a/amf-cli/shared/src/test/scala/amf/emit/Async20CycleTest.scala +++ b/amf-cli/shared/src/test/scala/amf/emit/Async20CycleTest.scala @@ -51,8 +51,16 @@ class Async20CycleTest extends FunSuiteCycleTests { FixtureData("Http operation binding", "http-operation-binding.yaml", "http-operation-binding.%s"), FixtureData("Kafka message binding", "kafka-message-binding-010.yaml", "kafka-message-binding.%s"), FixtureData("Kafka operation binding", "kafka-operation-binding.yaml", "kafka-operation-binding.%s"), - FixtureData("Mqtt message binding", "mqtt-message-binding.yaml", "mqtt-message-binding.%s"), - FixtureData("Mqtt operation binding", "mqtt-operation-binding.yaml", "mqtt-operation-binding.%s"), + FixtureData( + "Mqtt message binding", + "mqtt-message-binding.yaml", + "mqtt-message-binding.%s" + ), + FixtureData( + "Mqtt operation binding", + "mqtt-operation-binding.yaml", + "mqtt-operation-binding.%s" + ), FixtureData("Mqtt server binding", "mqtt-server-binding.yaml", "mqtt-server-binding.%s"), FixtureData("Websockets channel binding", "ws-channel-binding.yaml", "ws-channel-binding.%s"), FixtureData("Rpc server example", "rpc-server.yaml", "rpc-server.%s"), @@ -118,7 +126,11 @@ class Async20CycleTest extends FunSuiteCycleTests { "bindings/amqp-operation-binding.yaml", "bindings/amqp-operation-binding.yaml" ), - FixtureData("Http message binding", "bindings/http-message-binding.yaml", "bindings/http-message-binding.yaml"), + FixtureData( + "Http message binding", + "bindings/http-message-binding.yaml", + "bindings/http-message-binding.yaml" + ), FixtureData( "Http operation binding", "bindings/http-operation-binding.yaml", @@ -134,13 +146,21 @@ class Async20CycleTest extends FunSuiteCycleTests { "bindings/kafka-operation-binding.yaml", "bindings/kafka-operation-binding.yaml.yaml" ), - FixtureData("Mqtt message binding", "bindings/mqtt-message-binding.yaml", "bindings/mqtt-message-binding.yaml"), + FixtureData( + "Mqtt message binding", + "bindings/mqtt-message-binding.yaml", + "bindings/mqtt-message-binding.yaml.yaml" + ), FixtureData( "Mqtt operation binding", "bindings/mqtt-operation-binding.yaml", - "bindings/mqtt-operation-binding.yaml" + "bindings/mqtt-operation-binding.yaml.yaml" + ), + FixtureData( + "Mqtt server binding", + "bindings/mqtt-server-binding.yaml", + "bindings/mqtt-server-binding.yaml.yaml" ), - FixtureData("Mqtt server binding", "bindings/mqtt-server-binding.yaml", "bindings/mqtt-server-binding.yaml"), FixtureData("Websockets channel binding", "bindings/ws-channel-binding.yaml", "bindings/ws-channel-binding.yaml"), FixtureData("RAML type - simple union", "raml-types/simple-union.yaml", "raml-types/simple-union.yaml"), FixtureData("RAML type - simple object", "raml-types/simple-object.yaml", "raml-types/simple-object.yaml"), @@ -199,9 +219,9 @@ class Async20CycleTest extends FunSuiteCycleTests { "bindings/pulsar-binding-only-required.yaml" ), FixtureData( - "GooglePubSub message-binding and channel-binding", - "bindings/gps-message-binding.yaml", - "bindings/gps-message-binding.yaml" + "GooglePubSub message and channel binding", + "bindings/google-pub-sub-binding.yaml", + "bindings/google-pub-sub-binding.yaml" ), FixtureData( "async 2.4+ explicit security field in operation bindings", @@ -252,6 +272,21 @@ class Async20CycleTest extends FunSuiteCycleTests { "Kafka channel binding", "bindings/kafka-channel-binding.yaml", "bindings/kafka-channel-binding.yaml" + ), + FixtureData( + "solace operation destination binding", + "bindings/solace-binding-operation.yaml", + "bindings/solace-binding-operation.yaml" + ), + FixtureData( + "solace operation queue binding", + "bindings/solace-operation-queue-binding.yaml", + "bindings/solace-operation-queue-binding.yaml" + ), + FixtureData( + "solace binding 0.4.0 version", + "bindings/solace-0.4.0-version.yaml", + "bindings/solace-0.4.0-version.yaml" ) // TODO: figure out why this test is commented out diff --git a/amf-cli/shared/src/test/scala/amf/resolution/Async20ResolutionModelTest.scala b/amf-cli/shared/src/test/scala/amf/resolution/Async20ResolutionModelTest.scala new file mode 100644 index 0000000000..37b8b1bf6a --- /dev/null +++ b/amf-cli/shared/src/test/scala/amf/resolution/Async20ResolutionModelTest.scala @@ -0,0 +1,60 @@ +package amf.resolution + +import amf.apicontract.client.scala.AsyncAPIConfiguration +import amf.apicontract.client.scala.model.domain.api.AsyncApi +import amf.core.client.common.transform.PipelineId +import amf.core.client.scala.model.document.Document +import amf.shapes.client.scala.model.domain.{NodeShape, ScalarShape} +import org.scalatest.funsuite.AsyncFunSuite + +import scala.concurrent.ExecutionContext.Implicits.global +import scala.concurrent.{ExecutionContext, Future} + +class Async20ResolutionModelTest extends AsyncFunSuite { + override val executionContext: ExecutionContext = global + + private val basePath: String = "amf-cli/shared/src/test/resources/references/async/" + + test("async 2.0 should resolve inner references correctly") { + processApi(basePath + "async20.yaml") map { document => + val endPoints = document.encodes.asInstanceOf[AsyncApi].endPoints + assert(endPoints.nonEmpty) + val operations = endPoints.head.operations + assert(operations.nonEmpty) + val payloads = operations.head.request.payloads + assert(payloads.nonEmpty) + val schema = payloads.head.schema + assert(schema.isInstanceOf[NodeShape]) + val properties = schema.asInstanceOf[NodeShape].properties + assert(properties.nonEmpty) + val range = properties.head.range + assert(range.isInstanceOf[ScalarShape]) + } + } + + test("async 2.6 should resolve inner references correctly") { + processApi(basePath + "async26.yaml") map { document => + val endPoints = document.encodes.asInstanceOf[AsyncApi].endPoints + assert(endPoints.nonEmpty) + val operations = endPoints.head.operations + assert(operations.nonEmpty) + val payloads = operations.head.request.payloads + assert(payloads.nonEmpty) + val schema = payloads.head.schema + assert(schema.isInstanceOf[NodeShape]) + val properties = schema.asInstanceOf[NodeShape].properties + assert(properties.nonEmpty) + val range = properties.head.range + assert(range.isInstanceOf[ScalarShape]) + } + } + + private def processApi(path: String): Future[Document] = { + val client = AsyncAPIConfiguration.Async20().baseUnitClient() + client + .parse("file://" + path) + .map(p => client.transform(p.baseUnit, PipelineId.Editing)) + .map(_.baseUnit.asInstanceOf[Document]) + } + +} diff --git a/amf-cli/shared/src/test/scala/amf/resolution/Async20ResolutionTest.scala b/amf-cli/shared/src/test/scala/amf/resolution/Async20ResolutionTest.scala index f38c2dcb0e..95651582f7 100644 --- a/amf-cli/shared/src/test/scala/amf/resolution/Async20ResolutionTest.scala +++ b/amf-cli/shared/src/test/scala/amf/resolution/Async20ResolutionTest.scala @@ -9,6 +9,7 @@ import amf.core.internal.remote.{AmfJsonHint, Async20YamlHint, AsyncApi20, Spec} class Async20ResolutionTest extends ResolutionTest { override def basePath: String = "amf-cli/shared/src/test/resources/resolution/async20/" private val validationsPath: String = "amf-cli/shared/src/test/resources/validations/async20/" + private val referencePath: String = "amf-cli/shared/src/test/resources/references/async/" multiGoldenTest("Message examples are propagated to payload and parameter shapes", "message-example-propagation.%s") { config => @@ -309,6 +310,26 @@ class Async20ResolutionTest extends ResolutionTest { ) } + test("async 2.0 should resolve inner references correctly") { + cycle( + "async20.yaml", + "async20.yaml.yaml", + Async20YamlHint, + target = Async20YamlHint, + directory = referencePath + ) + } + + test("async 2.6 should resolve inner references correctly") { + cycle( + "async26.yaml", + "async26.yaml.yaml", + Async20YamlHint, + target = Async20YamlHint, + directory = referencePath + ) + } + override def transform(unit: BaseUnit, config: CycleConfig, amfConfig: AMFConfiguration): BaseUnit = { super.transform(unit, config, AsyncAPIConfiguration.Async20()) } 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 fe82692d70..8733fe10da 100644 --- a/amf-cli/shared/src/test/scala/amf/validation/AMFModelAssertionTest.scala +++ b/amf-cli/shared/src/test/scala/amf/validation/AMFModelAssertionTest.scala @@ -31,17 +31,19 @@ class AMFModelAssertionTest extends AsyncFunSuite with Matchers { override implicit val executionContext: ExecutionContext = ExecutionContext.Implicits.global - val basePath = "file://amf-cli/shared/src/test/resources/validations" - val ro: RenderOptions = RenderOptions().withCompactUris.withPrettyPrint.withSourceMaps - val graphqlConfig: AMFConfiguration = GraphQLConfiguration.GraphQL().withRenderOptions(ro) - val ramlConfig: AMFConfiguration = RAMLConfiguration.RAML10().withRenderOptions(ro) - val ramlClient: AMFBaseUnitClient = ramlConfig.baseUnitClient() - val raml08Config: AMFConfiguration = RAMLConfiguration.RAML08().withRenderOptions(ro) - val raml08Client: AMFBaseUnitClient = raml08Config.baseUnitClient() - val oasConfig: AMFConfiguration = OASConfiguration.OAS30().withRenderOptions(ro) - val oasClient: AMFBaseUnitClient = oasConfig.baseUnitClient() - val asyncConfig: AMFConfiguration = AsyncAPIConfiguration.Async20().withRenderOptions(ro) - val asyncClient: AMFBaseUnitClient = asyncConfig.baseUnitClient() + val basePath = "file://amf-cli/shared/src/test/resources/validations" + val ro: RenderOptions = RenderOptions().withCompactUris.withPrettyPrint.withSourceMaps + val graphqlConfig: AMFConfiguration = GraphQLConfiguration.GraphQL().withRenderOptions(ro) + val ramlConfig: AMFConfiguration = RAMLConfiguration.RAML10().withRenderOptions(ro) + val ramlClient: AMFBaseUnitClient = ramlConfig.baseUnitClient() + val raml08Config: AMFConfiguration = RAMLConfiguration.RAML08().withRenderOptions(ro) + val raml08Client: AMFBaseUnitClient = raml08Config.baseUnitClient() + val oasConfig: AMFConfiguration = OASConfiguration.OAS30().withRenderOptions(ro) + val oasClient: AMFBaseUnitClient = oasConfig.baseUnitClient() + val oasComponentsConfig: AMFConfiguration = OASConfiguration.OAS30Component().withRenderOptions(ro) + val oasComponentsClient: AMFBaseUnitClient = oasComponentsConfig.baseUnitClient() + val asyncConfig: AMFConfiguration = AsyncAPIConfiguration.Async20().withRenderOptions(ro) + val asyncClient: AMFBaseUnitClient = asyncConfig.baseUnitClient() def modelAssertion( path: String, @@ -665,4 +667,14 @@ class AMFModelAssertionTest extends AsyncFunSuite with Matchers { operationSecurityScopes.size shouldBe 2 } } + + // W-13014769 + test("OAS components parsing should throw unresolved references like OAS 3") { + val api = s"$basePath/oas3/oas-components-unresolved-ref.yaml" + oasComponentsClient.parse(api).flatMap { parseResultComponents => + oasClient.parse(api).map { parseResultOas => + parseResultOas.toString() shouldEqual parseResultComponents.toString() + } + } + } } diff --git a/amf-cli/shared/src/test/scala/amf/validation/Async20UniquePlatformUnitValidationsTest.scala b/amf-cli/shared/src/test/scala/amf/validation/Async20UniquePlatformUnitValidationsTest.scala index e84c0c0e16..7188d9215b 100644 --- a/amf-cli/shared/src/test/scala/amf/validation/Async20UniquePlatformUnitValidationsTest.scala +++ b/amf-cli/shared/src/test/scala/amf/validation/Async20UniquePlatformUnitValidationsTest.scala @@ -105,6 +105,10 @@ class Async20UniquePlatformUnitValidationsTest extends UniquePlatformReportGenTe validate("required-httpOperationBinding-type.yaml", Some("required-httpOperationBinding-type.report")) } + test("Invalid httpOperationBinding type") { + validate("invalid-httpOperationBinding-type.yaml", Some("invalid-httpOperationBinding-type.report")) + } + test("HttpOperationBinding type must be request or response") { validate("required-httpOperationBinding-type-values.yaml", Some("required-httpOperationBinding-type-values.report")) } @@ -369,8 +373,13 @@ class Async20UniquePlatformUnitValidationsTest extends UniquePlatformReportGenTe test("Async 2.5 tags in servers") { validate("server-tags.yaml", Some("server-tags.report")) } - test("Async 2.5 bindings in channel and message") { - validate("binding-wrong-key.yaml", Some("binding-wrong-key.report")) + + test("Async 2.5 google pub sub closed shape") { + validate("google-binding-wrong-key.yaml", Some("google-binding-wrong-key.report")) + } + + test("Async 2.5 google pub sub wrong version") { + validate("google-binding-wrong-version.yaml", Some("google-binding-wrong-version.report")) } test("Async 2.4 Server Variables") { @@ -496,4 +505,45 @@ class Async20UniquePlatformUnitValidationsTest extends UniquePlatformReportGenTe test("Async Kafka topic configuration validations") { validate("kafka-topic-configuration-validations.yaml", Some("kafka-topic-configuration-validations.report")) } + + test("Async http wrong binding version") { + validate("http-binding-wrong-binding-version.yaml", Some("http-binding-wrong-binding-version.report")) + } + + test("Async http query and headers refs") { + validate("http-binding-references.yaml", Some("http-binding-references.report")) + } + + test("Async http message binding valid status code") { + validate("http-message-binding.yaml", Some("http-message-binding.report")) + } + + test("Async mqtt message binding should warn invalid references") { + validate("mqtt-message-binding-refs.yaml", Some("mqtt-message-binding-refs.report")) + } + + test("Async mqtt message binding payloadFormatIndicator") { + validate("mqtt-message-binding-format.yaml", Some("mqtt-message-binding-format.report")) + } + + test("Async mqtt server binding should warn invalid references") { + validate("mqtt-server-binding-schemas.yaml", Some("mqtt-server-binding-schemas.report")) + } + + test("Async Solace wrong binding Version") { + validate("solace-wrong-binding-version.yaml", Some("solace-wrong-binding-version.report")) + } + + test("Async Solace Queue wrong binding Version") { + validate("solace-wrong-queue-version.yaml", Some("solace-wrong-queue-version.report")) + } + + test("Async Solace Queue Invalid binding Version") { + validate("solace-invalid-queue-version.yaml", Some("solace-invalid-queue-version.report")) + } + + test("Async Solace 0.4.0 invalid version") { + validate("solace-0.4.0-invalid.yaml", Some("solace-0.4.0-invalid.report")) + } + } diff --git a/amf-cli/shared/src/test/scala/amf/validation/Oas30UniquePlatformUnitValidationsTest.scala b/amf-cli/shared/src/test/scala/amf/validation/Oas30UniquePlatformUnitValidationsTest.scala index ac731fe09b..1673bd95bb 100644 --- a/amf-cli/shared/src/test/scala/amf/validation/Oas30UniquePlatformUnitValidationsTest.scala +++ b/amf-cli/shared/src/test/scala/amf/validation/Oas30UniquePlatformUnitValidationsTest.scala @@ -1,6 +1,5 @@ package amf.validation -import amf.core.internal.remote.{Hint, Oas20JsonHint, Oas30JsonHint, Oas30YamlHint} import org.scalatest.matchers.should.Matchers class Oas30UniquePlatformUnitValidationsTest extends UniquePlatformReportGenTest with Matchers { diff --git a/amf-cli/shared/src/test/scala/amf/validation/OasComponentValidationsTest.scala b/amf-cli/shared/src/test/scala/amf/validation/OasComponentValidationsTest.scala index 10eacd1c4d..633956155f 100644 --- a/amf-cli/shared/src/test/scala/amf/validation/OasComponentValidationsTest.scala +++ b/amf-cli/shared/src/test/scala/amf/validation/OasComponentValidationsTest.scala @@ -57,4 +57,13 @@ class OasComponentValidationsTest extends UniquePlatformReportGenTest { configOverride = Some(componentConfig) ) } + + // W-13014769 + test("OAS components parsing should throw unresolved references like OAS 3") { + validate( + "oas-component-unresolved-ref.yaml", + Some("oas-component-unresolved-ref.report"), + configOverride = Some(componentConfig) + ) + } } diff --git a/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/async/parser/Async2Settings.scala b/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/async/parser/Async2Settings.scala index e70147c0ce..804441f517 100644 --- a/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/async/parser/Async2Settings.scala +++ b/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/async/parser/Async2Settings.scala @@ -3,11 +3,10 @@ package amf.shapes.internal.spec.async.parser 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.ASYNC20 -import amf.shapes.internal.spec.raml.parser.RamlWebApiContextType.RamlWebApiContextType import amf.shapes.internal.spec.common.parser._ import amf.shapes.internal.spec.common.{JSONSchemaDraft7SchemaVersion, SchemaVersion} import amf.shapes.internal.spec.oas.parser.{OasLikeIgnoreCriteria, OasLink} +import amf.shapes.internal.spec.raml.parser.RamlWebApiContextType.RamlWebApiContextType import org.yaml.model.YNode case class Async2Settings private (syntax: SpecSyntax, spec: Spec) extends SpecSettings { diff --git a/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/common/emitter/DeclaredTypesEmitters.scala b/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/common/emitter/DeclaredTypesEmitters.scala index 990876bceb..0c5e013304 100644 --- a/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/common/emitter/DeclaredTypesEmitters.scala +++ b/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/common/emitter/DeclaredTypesEmitters.scala @@ -51,7 +51,9 @@ abstract class DeclaredTypesEmitters(types: Seq[Shape], references: Seq[BaseUnit // TODO: THIS SHOULD BE PART OF A SpecSettings object or something of the sort that the context has and we could access. val key: String = spec.spec match { - case Spec.OAS30 | Spec.ASYNC20 => "schemas" + case Spec.OAS30 | Spec.ASYNC20 | Spec.ASYNC21 | Spec.ASYNC22 | Spec.ASYNC23 | Spec.ASYNC24 | Spec.ASYNC25 | + Spec.ASYNC26 => + "schemas" case Spec.JSONSCHEMA if spec.isJsonSchema => spec.asInstanceOf[OasLikeShapeEmitterContext].schemasDeclarationsPath.replace("/", "") case _ => "definitions" diff --git a/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/common/parser/SpecSettings.scala b/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/common/parser/SpecSettings.scala index 71094c3d73..0748653e0f 100644 --- a/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/common/parser/SpecSettings.scala +++ b/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/common/parser/SpecSettings.scala @@ -3,7 +3,7 @@ package amf.shapes.internal.spec.common.parser 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.OAS30 +import amf.core.internal.remote.Spec._ import amf.shapes.internal.spec.raml.parser.RamlWebApiContextType.RamlWebApiContextType import amf.shapes.internal.spec.common.SchemaVersion import org.yaml.model.YNode @@ -14,10 +14,11 @@ trait SpecSettings { def link(node: YNode)(implicit eh: SyamlAMFErrorHandler): Either[String, YNode] def ignoreCriteria: IgnoreCriteria def isOasLikeContext: Boolean = isOas3Context || isOas2Context || isAsyncContext - def isOas2Context: Boolean = spec == Spec.OAS20 + def isOas2Context: Boolean = spec == OAS20 def isOas3Context: Boolean = spec == OAS30 - def isAsyncContext: Boolean = spec == Spec.ASYNC20 - def isRamlContext: Boolean = spec == Spec.RAML10 || spec == Spec.RAML08 + def isAsyncContext: Boolean = + spec == ASYNC20 || spec == ASYNC21 || spec == ASYNC22 || spec == ASYNC23 || spec == ASYNC24 || spec == ASYNC25 || spec == ASYNC26 + def isRamlContext: Boolean = spec == RAML10 || spec == RAML08 def ramlContextType: Option[RamlWebApiContextType] val defaultSchemaVersion: SchemaVersion def closedShapeValidator: ClosedShapeValidator = DefaultClosedShapeValidator(ignoreCriteria, spec, syntax) diff --git a/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/oas/OasShapeDefinitions.scala b/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/oas/OasShapeDefinitions.scala index ebad33579f..c10aefe1ca 100644 --- a/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/oas/OasShapeDefinitions.scala +++ b/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/oas/OasShapeDefinitions.scala @@ -14,7 +14,10 @@ trait OasShapeDefinitions { val oas3ComponentsPrefix = "#/components/" def stripDefinitionsPrefix(url: String)(implicit ctx: ShapeParserContext): String = { - if (ctx.spec == Spec.OAS30 || ctx.spec == Spec.ASYNC20) url.stripPrefix(oas3DefinitionsPrefix) + if ( + ctx.spec == Spec.OAS30 || ctx.spec == Spec.ASYNC20 || ctx.spec == Spec.ASYNC21 || ctx.spec == Spec.ASYNC22 || + ctx.spec == Spec.ASYNC23 || ctx.spec == Spec.ASYNC24 || ctx.spec == Spec.ASYNC25 || ctx.spec == Spec.ASYNC26 + ) url.stripPrefix(oas3DefinitionsPrefix) else url.stripPrefix(oas2DefinitionsPrefix) } @@ -30,7 +33,8 @@ trait OasShapeDefinitions { spec: Option[Spec] = None, jsonSchemaVersion: Option[JSONSchemaVersion] = None ): String = spec match { - case Some(Spec.OAS30) | Some(Spec.ASYNC20) => + case Some(Spec.OAS30) | Some(Spec.ASYNC20) | Some(Spec.ASYNC21) | Some(Spec.ASYNC22) | + Some(Spec.ASYNC23) | Some(Spec.ASYNC24) | Some(Spec.ASYNC25) | Some(Spec.ASYNC26) => if (!url.startsWith(oas3DefinitionsPrefix)) appendPrefix(oas3DefinitionsPrefix, url) else url case Some(Spec.JSONSCHEMA) if jsonSchemaVersion.exists(version => version.isBiggerThanOrEqualTo(JSONSchemaDraft201909SchemaVersion)) => diff --git a/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/oas/parser/OasTypeParser.scala b/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/oas/parser/OasTypeParser.scala index 9a9a140a3b..f4618fe63a 100644 --- a/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/oas/parser/OasTypeParser.scala +++ b/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/oas/parser/OasTypeParser.scala @@ -57,7 +57,9 @@ object OasTypeParser { private def getSchemaVersion(ctx: ShapeParserContext) = { if (ctx.spec == Spec.OAS30) OAS30SchemaVersion(Schema) - else if (ctx.spec == Spec.ASYNC20) JSONSchemaDraft7SchemaVersion + else if ( + ctx.spec == Spec.ASYNC20 || ctx.spec == Spec.ASYNC21 || ctx.spec == Spec.ASYNC22 || ctx.spec == Spec.ASYNC23 || ctx.spec == Spec.ASYNC24 || ctx.spec == Spec.ASYNC25 || ctx.spec == Spec.ASYNC26 + ) JSONSchemaDraft7SchemaVersion else OAS20SchemaVersion(Schema) } } diff --git a/documentation/model.md b/documentation/model.md index 088bba3ec8..a1612e8d30 100644 --- a/documentation/model.md +++ b/documentation/model.md @@ -83,13 +83,23 @@ AMF Model Documentation * [FileShape](#fileshape) * [Fragment](#fragment) * [GooglePubSubChannelBinding](#googlepubsubchannelbinding) +* [GooglePubSubChannelBinding010](#googlepubsubchannelbinding010) +* [GooglePubSubChannelBinding020](#googlepubsubchannelbinding020) * [GooglePubSubMessageBinding](#googlepubsubmessagebinding) +* [GooglePubSubMessageBinding010](#googlepubsubmessagebinding010) +* [GooglePubSubMessageBinding020](#googlepubsubmessagebinding020) * [GooglePubSubMessageStoragePolicy](#googlepubsubmessagestoragepolicy) * [GooglePubSubSchemaDefinition](#googlepubsubschemadefinition) +* [GooglePubSubSchemaDefinition010](#googlepubsubschemadefinition010) +* [GooglePubSubSchemaDefinition020](#googlepubsubschemadefinition020) * [GooglePubSubSchemaSettings](#googlepubsubschemasettings) * [HttpApiKeySettings](#httpapikeysettings) * [HttpMessageBinding](#httpmessagebinding) +* [HttpMessageBinding020](#httpmessagebinding020) +* [HttpMessageBinding030](#httpmessagebinding030) * [HttpOperationBinding](#httpoperationbinding) +* [HttpOperationBinding010](#httpoperationbinding010) +* [HttpOperationBinding020](#httpoperationbinding020) * [HttpSettings](#httpsettings) * [IBMMQChannelBinding](#ibmmqchannelbinding) * [IBMMQChannelQueue](#ibmmqchannelqueue) @@ -123,8 +133,14 @@ AMF Model Documentation * [MessageBindings](#messagebindings) * [Module](#module) * [MqttMessageBinding](#mqttmessagebinding) +* [MqttMessageBinding010](#mqttmessagebinding010) +* [MqttMessageBinding020](#mqttmessagebinding020) * [MqttOperationBinding](#mqttoperationbinding) +* [MqttOperationBinding010](#mqttoperationbinding010) +* [MqttOperationBinding020](#mqttoperationbinding020) * [MqttServerBinding](#mqttserverbinding) +* [MqttServerBinding010](#mqttserverbinding010) +* [MqttServerBinding020](#mqttserverbinding020) * [MqttServerLastWill](#mqttserverlastwill) * [NamedExampleFragment](#namedexamplefragment) * [NilShape](#nilshape) @@ -189,10 +205,22 @@ AMF Model Documentation * [ShapeRequest](#shaperequest) * [ShapeResponse](#shaperesponse) * [SolaceOperationBinding](#solaceoperationbinding) +* [SolaceOperationBinding010](#solaceoperationbinding010) +* [SolaceOperationBinding020](#solaceoperationbinding020) +* [SolaceOperationBinding030](#solaceoperationbinding030) +* [SolaceOperationBinding040](#solaceoperationbinding040) * [SolaceOperationDestination](#solaceoperationdestination) +* [SolaceOperationDestination010](#solaceoperationdestination010) +* [SolaceOperationDestination020](#solaceoperationdestination020) +* [SolaceOperationDestination030](#solaceoperationdestination030) +* [SolaceOperationDestination040](#solaceoperationdestination040) * [SolaceOperationQueue](#solaceoperationqueue) +* [SolaceOperationQueue010](#solaceoperationqueue010) +* [SolaceOperationQueue030](#solaceoperationqueue030) * [SolaceOperationTopic](#solaceoperationtopic) * [SolaceServerBinding](#solaceserverbinding) +* [SolaceServerBinding010](#solaceserverbinding010) +* [SolaceServerBinding040](#solaceserverbinding040) * [SourceMap](#sourcemap) * [Tag](#tag) * [TemplatedLink](#templatedlink) @@ -1654,7 +1682,41 @@ Types: | messageRetentionDuration | string | - | Indicates the minimum duration to retain a message after it is published to the topic | `http://a.ml/vocabularies/apiBinding#messageRetentionDuration` | | messageStoragePolicy | [GooglePubSubMessageStoragePolicy](#googlepubsubmessagestoragepolicy) | - | Policy constraining the set of Google Cloud Platform regions where messages published to the topic may be stored | `http://a.ml/vocabularies/apiBinding#messageStoragePolicy` | | schemaSettings | [GooglePubSubSchemaSettings](#googlepubsubschemasettings) | - | Settings for validating messages published against a schema | `http://a.ml/vocabularies/apiBinding#schemaSettings` | + | bindingVersion | string | - | The version of this binding | `http://a.ml/vocabularies/apiBinding#bindingVersion` | + | type | string | - | Binding for a corresponding known type | `http://a.ml/vocabularies/apiBinding#type` | + | 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` | + +## GooglePubSubChannelBinding010 + +Types: +* `http://a.ml/vocabularies/apiBinding#GooglePubSubChannelBinding010` +* `http://a.ml/vocabularies/apiBinding#ChannelBinding` +* `http://a.ml/vocabularies/document#DomainElement` + + | Name | Value | Sorted | Documentation | Namespace | + | ------ | ------ | ------ | ------ | ------ | | topic | string | - | The Google Cloud Pub/Sub Topic name | `http://a.ml/vocabularies/apiBinding#topic` | + | labels | [ObjectNode](#objectnode) | - | An object of key-value pairs | `http://a.ml/vocabularies/apiBinding#labels` | + | messageRetentionDuration | string | - | Indicates the minimum duration to retain a message after it is published to the topic | `http://a.ml/vocabularies/apiBinding#messageRetentionDuration` | + | messageStoragePolicy | [GooglePubSubMessageStoragePolicy](#googlepubsubmessagestoragepolicy) | - | Policy constraining the set of Google Cloud Platform regions where messages published to the topic may be stored | `http://a.ml/vocabularies/apiBinding#messageStoragePolicy` | + | schemaSettings | [GooglePubSubSchemaSettings](#googlepubsubschemasettings) | - | Settings for validating messages published against a schema | `http://a.ml/vocabularies/apiBinding#schemaSettings` | + | bindingVersion | string | - | The version of this binding | `http://a.ml/vocabularies/apiBinding#bindingVersion` | + | type | string | - | Binding for a corresponding known type | `http://a.ml/vocabularies/apiBinding#type` | + | 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` | + +## GooglePubSubChannelBinding020 + +Types: +* `http://a.ml/vocabularies/apiBinding#GooglePubSubChannelBinding020` +* `http://a.ml/vocabularies/apiBinding#ChannelBinding` +* `http://a.ml/vocabularies/document#DomainElement` + + | Name | Value | Sorted | Documentation | Namespace | + | ------ | ------ | ------ | ------ | ------ | + | labels | [ObjectNode](#objectnode) | - | An object of key-value pairs | `http://a.ml/vocabularies/apiBinding#labels` | + | messageRetentionDuration | string | - | Indicates the minimum duration to retain a message after it is published to the topic | `http://a.ml/vocabularies/apiBinding#messageRetentionDuration` | + | messageStoragePolicy | [GooglePubSubMessageStoragePolicy](#googlepubsubmessagestoragepolicy) | - | Policy constraining the set of Google Cloud Platform regions where messages published to the topic may be stored | `http://a.ml/vocabularies/apiBinding#messageStoragePolicy` | + | schemaSettings | [GooglePubSubSchemaSettings](#googlepubsubschemasettings) | - | Settings for validating messages published against a schema | `http://a.ml/vocabularies/apiBinding#schemaSettings` | | bindingVersion | string | - | The version of this binding | `http://a.ml/vocabularies/apiBinding#bindingVersion` | | type | string | - | Binding for a corresponding known type | `http://a.ml/vocabularies/apiBinding#type` | | 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` | @@ -1675,6 +1737,38 @@ Types: | type | string | - | Binding for a corresponding known type | `http://a.ml/vocabularies/apiBinding#type` | | 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` | +## GooglePubSubMessageBinding010 + +Types: +* `http://a.ml/vocabularies/apiBinding#GooglePubSubMessageBinding010` +* `http://a.ml/vocabularies/apiBinding#MessageBinding` +* `http://a.ml/vocabularies/document#DomainElement` + + | Name | Value | Sorted | Documentation | Namespace | + | ------ | ------ | ------ | ------ | ------ | + | attribute | [ObjectNode](#objectnode) | - | Attributes for this message | `http://a.ml/vocabularies/apiBinding#attribute` | + | orderingKey | string | - | If non-empty, identifies related messages for which publish order should be respected | `http://a.ml/vocabularies/apiBinding#orderingKey` | + | schemaDefinition | [GooglePubSubSchemaDefinition010](#googlepubsubschemadefinition010) | - | Define Schema | `http://a.ml/vocabularies/apiBinding#schemaDefinition` | + | bindingVersion | string | - | The version of this binding | `http://a.ml/vocabularies/apiBinding#bindingVersion` | + | type | string | - | Binding for a corresponding known type | `http://a.ml/vocabularies/apiBinding#type` | + | 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` | + +## GooglePubSubMessageBinding020 + +Types: +* `http://a.ml/vocabularies/apiBinding#GooglePubSubMessageBinding020` +* `http://a.ml/vocabularies/apiBinding#MessageBinding` +* `http://a.ml/vocabularies/document#DomainElement` + + | Name | Value | Sorted | Documentation | Namespace | + | ------ | ------ | ------ | ------ | ------ | + | attribute | [ObjectNode](#objectnode) | - | Attributes for this message | `http://a.ml/vocabularies/apiBinding#attribute` | + | orderingKey | string | - | If non-empty, identifies related messages for which publish order should be respected | `http://a.ml/vocabularies/apiBinding#orderingKey` | + | schemaDefinition | [GooglePubSubSchemaDefinition020](#googlepubsubschemadefinition020) | - | Define Schema | `http://a.ml/vocabularies/apiBinding#schemaDefinition` | + | bindingVersion | string | - | The version of this binding | `http://a.ml/vocabularies/apiBinding#bindingVersion` | + | type | string | - | Binding for a corresponding known type | `http://a.ml/vocabularies/apiBinding#type` | + | 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` | + ## GooglePubSubMessageStoragePolicy Types: @@ -1694,8 +1788,30 @@ Types: | Name | Value | Sorted | Documentation | Namespace | | ------ | ------ | ------ | ------ | ------ | - | name | string | - | The name of the schema | `http://a.ml/vocabularies/apiBinding#name` | + | name | string | - | Name of the shape | `http://a.ml/vocabularies/core#name` | + | 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` | + +## GooglePubSubSchemaDefinition010 + +Types: +* `http://a.ml/vocabularies/apiBinding#GooglePubSubSchemaDefinition010` +* `http://a.ml/vocabularies/document#DomainElement` + + | Name | Value | Sorted | Documentation | Namespace | + | ------ | ------ | ------ | ------ | ------ | | type | string | - | The type of the schema | `http://a.ml/vocabularies/apiBinding#type` | + | name | string | - | Name of the shape | `http://a.ml/vocabularies/core#name` | + | 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` | + +## GooglePubSubSchemaDefinition020 + +Types: +* `http://a.ml/vocabularies/apiBinding#GooglePubSubSchemaDefinition020` +* `http://a.ml/vocabularies/document#DomainElement` + + | Name | Value | Sorted | Documentation | Namespace | + | ------ | ------ | ------ | ------ | ------ | + | name | string | - | Name of the shape | `http://a.ml/vocabularies/core#name` | | 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` | ## GooglePubSubSchemaSettings @@ -1706,10 +1822,10 @@ Types: | Name | Value | Sorted | Documentation | Namespace | | ------ | ------ | ------ | ------ | ------ | + | name | string | - | Name of the shape | `http://a.ml/vocabularies/core#name` | | encoding | string | - | The encoding of the message | `http://a.ml/vocabularies/apiBinding#encoding` | | firstRevisionId | string | - | The minimum (inclusive) revision allowed for validating messages | `http://a.ml/vocabularies/apiBinding#firstRevisionId` | | lastRevisionId | string | - | The maximum (inclusive) revision allowed for validating messages | `http://a.ml/vocabularies/apiBinding#lastRevisionId` | - | name | string | - | Name of the schema that messages published should be validated against | `http://a.ml/vocabularies/apiBinding#name` | | 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` | ## HttpApiKeySettings @@ -1740,11 +1856,55 @@ Types: | type | string | - | Binding for a corresponding known type | `http://a.ml/vocabularies/apiBinding#type` | | 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` | +## HttpMessageBinding020 + +Types: +* `http://a.ml/vocabularies/apiBinding#HttpMessageBinding020` +* `http://a.ml/vocabularies/apiBinding#MessageBinding` +* `http://a.ml/vocabularies/document#DomainElement` + + | Name | Value | Sorted | Documentation | Namespace | + | ------ | ------ | ------ | ------ | ------ | + | headers | [Shape](#shape) | - | A Schema object containing the definitions for HTTP-specific headers | `http://a.ml/vocabularies/apiBinding#headers` | + | bindingVersion | string | - | The version of this binding | `http://a.ml/vocabularies/apiBinding#bindingVersion` | + | type | string | - | Binding for a corresponding known type | `http://a.ml/vocabularies/apiBinding#type` | + | 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` | + +## HttpMessageBinding030 + +Types: +* `http://a.ml/vocabularies/apiBinding#HttpMessageBinding030` +* `http://a.ml/vocabularies/apiBinding#MessageBinding` +* `http://a.ml/vocabularies/document#DomainElement` + + | Name | Value | Sorted | Documentation | Namespace | + | ------ | ------ | ------ | ------ | ------ | + | statusCode | int | - | The HTTP response status code according to RFC 9110. | `http://a.ml/vocabularies/apiBinding#statusCode` | + | headers | [Shape](#shape) | - | A Schema object containing the definitions for HTTP-specific headers | `http://a.ml/vocabularies/apiBinding#headers` | + | bindingVersion | string | - | The version of this binding | `http://a.ml/vocabularies/apiBinding#bindingVersion` | + | type | string | - | Binding for a corresponding known type | `http://a.ml/vocabularies/apiBinding#type` | + | 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` | + ## HttpOperationBinding Types: * `http://a.ml/vocabularies/apiBinding#HttpOperationBinding` * `http://a.ml/vocabularies/apiBinding#OperationBinding` +* `http://a.ml/vocabularies/document#DomainElement` + + | Name | Value | Sorted | Documentation | Namespace | + | ------ | ------ | ------ | ------ | ------ | + | method | string | - | Operation binding method | `http://a.ml/vocabularies/apiBinding#method` | + | query | [Shape](#shape) | - | A Schema object containing the definitions for each query parameter | `http://a.ml/vocabularies/apiBinding#query` | + | bindingVersion | string | - | The version of this binding | `http://a.ml/vocabularies/apiBinding#bindingVersion` | + | type | string | - | Binding for a corresponding known type | `http://a.ml/vocabularies/apiBinding#type` | + | 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` | + +## HttpOperationBinding010 + +Types: +* `http://a.ml/vocabularies/apiBinding#HttpOperationBinding010` +* `http://a.ml/vocabularies/apiBinding#OperationBinding` * `http://a.ml/vocabularies/document#DomainElement` | Name | Value | Sorted | Documentation | Namespace | @@ -1756,6 +1916,21 @@ Types: | type | string | - | Binding for a corresponding known type | `http://a.ml/vocabularies/apiBinding#type` | | 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` | +## HttpOperationBinding020 + +Types: +* `http://a.ml/vocabularies/apiBinding#HttpOperationBinding020` +* `http://a.ml/vocabularies/apiBinding#OperationBinding` +* `http://a.ml/vocabularies/document#DomainElement` + + | Name | Value | Sorted | Documentation | Namespace | + | ------ | ------ | ------ | ------ | ------ | + | method | string | - | Operation binding method | `http://a.ml/vocabularies/apiBinding#method` | + | query | [Shape](#shape) | - | A Schema object containing the definitions for each query parameter | `http://a.ml/vocabularies/apiBinding#query` | + | bindingVersion | string | - | The version of this binding | `http://a.ml/vocabularies/apiBinding#bindingVersion` | + | type | string | - | Binding for a corresponding known type | `http://a.ml/vocabularies/apiBinding#type` | + | 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` | + ## HttpSettings Settings for an HTTP security scheme Types: @@ -1795,6 +1970,7 @@ Types: | Name | Value | Sorted | Documentation | Namespace | | ------ | ------ | ------ | ------ | ------ | + | name | string | - | Name of the shape | `http://a.ml/vocabularies/core#name` | | objectName | string | - | Defines the name of the IBM MQ queue associated with the channel. | `http://a.ml/vocabularies/apiBinding#objectName` | | isPartitioned | boolean | - | Defines if the queue is a cluster queue and therefore partitioned. If true, a binding option MAY be specified when accessing the queue. | `http://a.ml/vocabularies/apiBinding#isPartitioned` | | exclusive | boolean | - | Specifies if it is recommended to open the queue exclusively. | `http://a.ml/vocabularies/apiBinding#exclusive` | @@ -1808,6 +1984,7 @@ Types: | Name | Value | Sorted | Documentation | Namespace | | ------ | ------ | ------ | ------ | ------ | + | name | string | - | Name of the shape | `http://a.ml/vocabularies/core#name` | | string | string | - | The value of the IBM MQ topic string to be used. | `http://a.ml/vocabularies/apiBinding#string` | | objectName | string | - | The name of the IBM MQ topic object. | `http://a.ml/vocabularies/apiBinding#objectName` | | durablePermitted | boolean | - | Defines if the subscription may be durable. | `http://a.ml/vocabularies/apiBinding#durablePermitted` | @@ -2305,6 +2482,36 @@ Types: | type | string | - | Binding for a corresponding known type | `http://a.ml/vocabularies/apiBinding#type` | | 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` | +## MqttMessageBinding010 + +Types: +* `http://a.ml/vocabularies/apiBinding#MqttMessageBinding010` +* `http://a.ml/vocabularies/apiBinding#MessageBinding` +* `http://a.ml/vocabularies/document#DomainElement` + + | Name | Value | Sorted | Documentation | Namespace | + | ------ | ------ | ------ | ------ | ------ | + | bindingVersion | string | - | The version of this binding | `http://a.ml/vocabularies/apiBinding#bindingVersion` | + | type | string | - | Binding for a corresponding known type | `http://a.ml/vocabularies/apiBinding#type` | + | 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` | + +## MqttMessageBinding020 + +Types: +* `http://a.ml/vocabularies/apiBinding#MqttMessageBinding020` +* `http://a.ml/vocabularies/apiBinding#MessageBinding` +* `http://a.ml/vocabularies/document#DomainElement` + + | Name | Value | Sorted | Documentation | Namespace | + | ------ | ------ | ------ | ------ | ------ | + | payloadFormatIndicator | int | - | Either: 0 (zero): Indicates that the payload is unspecified bytes, or 1: Indicates that the payload is UTF-8 encoded character data. | `http://a.ml/vocabularies/apiBinding#payloadFormatIndicator` | + | correlationData | [Shape](#shape) | - | Correlation Data is used by the sender of the request message to identify which request the response message is for when it is received. | `http://a.ml/vocabularies/apiBinding#correlationData` | + | contentType | string | - | String describing the content type of the message payload. This should not conflict with the contentType field of the associated AsyncAPI Message object. | `http://a.ml/vocabularies/apiBinding#contentType` | + | responseTopic | string | - | The topic (channel URI) for a response message. | `http://a.ml/vocabularies/apiBinding#responseTopic` | + | bindingVersion | string | - | The version of this binding | `http://a.ml/vocabularies/apiBinding#bindingVersion` | + | type | string | - | Binding for a corresponding known type | `http://a.ml/vocabularies/apiBinding#type` | + | 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` | + ## MqttOperationBinding Types: @@ -2320,6 +2527,37 @@ Types: | type | string | - | Binding for a corresponding known type | `http://a.ml/vocabularies/apiBinding#type` | | 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` | +## MqttOperationBinding010 + +Types: +* `http://a.ml/vocabularies/apiBinding#MqttOperationBinding010` +* `http://a.ml/vocabularies/apiBinding#OperationBinding` +* `http://a.ml/vocabularies/document#DomainElement` + + | Name | Value | Sorted | Documentation | Namespace | + | ------ | ------ | ------ | ------ | ------ | + | qos | int | - | Defines how hard the broker/client will try to ensure that a message is received | `http://a.ml/vocabularies/apiBinding#qos` | + | retain | boolean | - | Whether the broker should retain the message or not | `http://a.ml/vocabularies/apiBinding#retain` | + | bindingVersion | string | - | The version of this binding | `http://a.ml/vocabularies/apiBinding#bindingVersion` | + | type | string | - | Binding for a corresponding known type | `http://a.ml/vocabularies/apiBinding#type` | + | 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` | + +## MqttOperationBinding020 + +Types: +* `http://a.ml/vocabularies/apiBinding#MqttOperationBinding020` +* `http://a.ml/vocabularies/apiBinding#OperationBinding` +* `http://a.ml/vocabularies/document#DomainElement` + + | Name | Value | Sorted | Documentation | Namespace | + | ------ | ------ | ------ | ------ | ------ | + | messageExpiryInterval | int | - | Interval in seconds or a Schema Object containing the definition of the lifetime of the message. | `http://a.ml/vocabularies/apiBinding#messageExpiryInterval` | + | qos | int | - | Defines how hard the broker/client will try to ensure that a message is received | `http://a.ml/vocabularies/apiBinding#qos` | + | retain | boolean | - | Whether the broker should retain the message or not | `http://a.ml/vocabularies/apiBinding#retain` | + | bindingVersion | string | - | The version of this binding | `http://a.ml/vocabularies/apiBinding#bindingVersion` | + | type | string | - | Binding for a corresponding known type | `http://a.ml/vocabularies/apiBinding#type` | + | 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` | + ## MqttServerBinding Types: @@ -2337,6 +2575,44 @@ Types: | type | string | - | Binding for a corresponding known type | `http://a.ml/vocabularies/apiBinding#type` | | 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` | +## MqttServerBinding010 + +Types: +* `http://a.ml/vocabularies/apiBinding#MqttServerBinding010` +* `http://a.ml/vocabularies/apiBinding#ServerBinding` +* `http://a.ml/vocabularies/document#DomainElement` + + | Name | Value | Sorted | Documentation | Namespace | + | ------ | ------ | ------ | ------ | ------ | + | clientId | string | - | The client identifier | `http://a.ml/vocabularies/apiBinding#clientId` | + | cleanSession | boolean | - | Whether to create a persistent connection or not | `http://a.ml/vocabularies/apiBinding#cleanSession` | + | lastWill | [MqttServerLastWill](#mqttserverlastwill) | - | Last Will and Testament configuration | `http://a.ml/vocabularies/apiBinding#lastWill` | + | keepAlive | int | - | Interval in seconds of the longest period of time the broker and the client can endure without sending a message | `http://a.ml/vocabularies/apiBinding#keepAlive` | + | bindingVersion | string | - | The version of this binding | `http://a.ml/vocabularies/apiBinding#bindingVersion` | + | type | string | - | Binding for a corresponding known type | `http://a.ml/vocabularies/apiBinding#type` | + | 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` | + +## MqttServerBinding020 + +Types: +* `http://a.ml/vocabularies/apiBinding#MqttServerBinding020` +* `http://a.ml/vocabularies/apiBinding#ServerBinding` +* `http://a.ml/vocabularies/document#DomainElement` + + | Name | Value | Sorted | Documentation | Namespace | + | ------ | ------ | ------ | ------ | ------ | + | sessionExpiryInterval | int | - | Interval in seconds or a Schema Object containing the definition of the interval. The broker maintains a session for a disconnected client until this interval expires. | `http://a.ml/vocabularies/apiBinding#sessionExpiryInterval` | + | sessionExpiryIntervalSchema | [Shape](#shape) | - | Interval in seconds or a Schema Object containing the definition of the interval. The broker maintains a session for a disconnected client until this interval expires. | `http://a.ml/vocabularies/apiBinding#sessionExpiryIntervalSchema` | + | maximumPacketSize | int | - | Number of bytes or a Schema Object representing the maximum packet size the client is willing to accept. | `http://a.ml/vocabularies/apiBinding#maximumPacketSize` | + | maximumPacketSizeSchema | [Shape](#shape) | - | Number of bytes or a Schema Object representing the maximum packet size the client is willing to accept. | `http://a.ml/vocabularies/apiBinding#maximumPacketSizeSchema` | + | clientId | string | - | The client identifier | `http://a.ml/vocabularies/apiBinding#clientId` | + | cleanSession | boolean | - | Whether to create a persistent connection or not | `http://a.ml/vocabularies/apiBinding#cleanSession` | + | lastWill | [MqttServerLastWill](#mqttserverlastwill) | - | Last Will and Testament configuration | `http://a.ml/vocabularies/apiBinding#lastWill` | + | keepAlive | int | - | Interval in seconds of the longest period of time the broker and the client can endure without sending a message | `http://a.ml/vocabularies/apiBinding#keepAlive` | + | bindingVersion | string | - | The version of this binding | `http://a.ml/vocabularies/apiBinding#bindingVersion` | + | type | string | - | Binding for a corresponding known type | `http://a.ml/vocabularies/apiBinding#type` | + | 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` | + ## MqttServerLastWill Types: @@ -3619,6 +3895,65 @@ Types: | type | string | - | Binding for a corresponding known type | `http://a.ml/vocabularies/apiBinding#type` | | 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` | +## SolaceOperationBinding010 + +Types: +* `http://a.ml/vocabularies/apiBinding#SolaceOperationBinding010` +* `http://a.ml/vocabularies/apiBinding#OperationBinding` +* `http://a.ml/vocabularies/document#DomainElement` + + | Name | Value | Sorted | Documentation | Namespace | + | ------ | ------ | ------ | ------ | ------ | + | destinations | [[SolaceOperationDestination010](#solaceoperationdestination010)] | false | | `http://a.ml/vocabularies/apiBinding#destinations` | + | bindingVersion | string | - | The version of this binding | `http://a.ml/vocabularies/apiBinding#bindingVersion` | + | type | string | - | Binding for a corresponding known type | `http://a.ml/vocabularies/apiBinding#type` | + | 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` | + +## SolaceOperationBinding020 + +Types: +* `http://a.ml/vocabularies/apiBinding#SolaceOperationBinding020` +* `http://a.ml/vocabularies/apiBinding#OperationBinding` +* `http://a.ml/vocabularies/document#DomainElement` + + | Name | Value | Sorted | Documentation | Namespace | + | ------ | ------ | ------ | ------ | ------ | + | destinations | [[SolaceOperationDestination020](#solaceoperationdestination020)] | false | | `http://a.ml/vocabularies/apiBinding#destinations` | + | bindingVersion | string | - | The version of this binding | `http://a.ml/vocabularies/apiBinding#bindingVersion` | + | type | string | - | Binding for a corresponding known type | `http://a.ml/vocabularies/apiBinding#type` | + | 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` | + +## SolaceOperationBinding030 + +Types: +* `http://a.ml/vocabularies/apiBinding#SolaceOperationBinding030` +* `http://a.ml/vocabularies/apiBinding#OperationBinding` +* `http://a.ml/vocabularies/document#DomainElement` + + | Name | Value | Sorted | Documentation | Namespace | + | ------ | ------ | ------ | ------ | ------ | + | destinations | [[SolaceOperationDestination030](#solaceoperationdestination030)] | false | | `http://a.ml/vocabularies/apiBinding#destinations` | + | bindingVersion | string | - | The version of this binding | `http://a.ml/vocabularies/apiBinding#bindingVersion` | + | type | string | - | Binding for a corresponding known type | `http://a.ml/vocabularies/apiBinding#type` | + | 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` | + +## SolaceOperationBinding040 + +Types: +* `http://a.ml/vocabularies/apiBinding#SolaceOperationBinding040` +* `http://a.ml/vocabularies/apiBinding#OperationBinding` +* `http://a.ml/vocabularies/document#DomainElement` + + | Name | Value | Sorted | Documentation | Namespace | + | ------ | ------ | ------ | ------ | ------ | + | destinations | [[SolaceOperationDestination040](#solaceoperationdestination040)] | false | | `http://a.ml/vocabularies/apiBinding#destinations` | + | bindingVersion | string | - | The version of this binding | `http://a.ml/vocabularies/apiBinding#bindingVersion` | + | timeToLive | int | - | Interval in milliseconds or a Schema Object containing the definition of the lifetime of the message. | `http://a.ml/vocabularies/apiBinding#timeToLive` | + | priority | int | - | The valid priority value range is 0-255 with 0 as the lowest priority and 255 as the highest or a Schema Object containing the definition of the priority. | `http://a.ml/vocabularies/apiBinding#priority` | + | dmqEligible | boolean | - | Set the message to be eligible to be moved to a Dead Message Queue. The default value is false. | `http://a.ml/vocabularies/apiBinding#dmqEligible` | + | type | string | - | Binding for a corresponding known type | `http://a.ml/vocabularies/apiBinding#type` | + | 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` | + ## SolaceOperationDestination Types: @@ -3630,6 +3965,65 @@ Types: | destinationType | string | - | 'queue' or 'topic'. If the type is queue, then the subscriber can bind to the queue, which in turn will subscribe to the topic as represented by the channel name or to the provided topicSubscriptions. | `http://a.ml/vocabularies/apiBinding#destinationType` | | deliveryMode | string | - | 'direct' or 'persistent'. This determines the quality of service for publishing messages. Default is 'persistent'. | `http://a.ml/vocabularies/apiBinding#deliveryMode` | | queue | [SolaceOperationQueue](#solaceoperationqueue) | - | Defines the properties of a queue. | `http://a.ml/vocabularies/apiBinding#queue` | + | 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` | + +## SolaceOperationDestination010 + +Types: +* `http://a.ml/vocabularies/apiBinding#SolaceOperationDestination010` +* `http://a.ml/vocabularies/apiBinding#SolaceOperationDestination` +* `http://a.ml/vocabularies/document#DomainElement` + + | Name | Value | Sorted | Documentation | Namespace | + | ------ | ------ | ------ | ------ | ------ | + | destinationType | string | - | 'queue' or 'topic'. If the type is queue, then the subscriber can bind to the queue, which in turn will subscribe to the topic as represented by the channel name or to the provided topicSubscriptions. | `http://a.ml/vocabularies/apiBinding#destinationType` | + | deliveryMode | string | - | 'direct' or 'persistent'. This determines the quality of service for publishing messages. Default is 'persistent'. | `http://a.ml/vocabularies/apiBinding#deliveryMode` | + | queue | [SolaceOperationQueue010](#solaceoperationqueue010) | - | Defines the properties of a queue. | `http://a.ml/vocabularies/apiBinding#queue` | + | 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` | + +## SolaceOperationDestination020 + +Types: +* `http://a.ml/vocabularies/apiBinding#SolaceOperationDestination020` +* `http://a.ml/vocabularies/apiBinding#SolaceOperationDestination` +* `http://a.ml/vocabularies/document#DomainElement` + + | Name | Value | Sorted | Documentation | Namespace | + | ------ | ------ | ------ | ------ | ------ | + | destinationType | string | - | 'queue' or 'topic'. If the type is queue, then the subscriber can bind to the queue, which in turn will subscribe to the topic as represented by the channel name or to the provided topicSubscriptions. | `http://a.ml/vocabularies/apiBinding#destinationType` | + | deliveryMode | string | - | 'direct' or 'persistent'. This determines the quality of service for publishing messages. Default is 'persistent'. | `http://a.ml/vocabularies/apiBinding#deliveryMode` | + | queue | [SolaceOperationQueue010](#solaceoperationqueue010) | - | Defines the properties of a queue. | `http://a.ml/vocabularies/apiBinding#queue` | + | topic | [SolaceOperationTopic](#solaceoperationtopic) | - | Defines the properties of a topic. | `http://a.ml/vocabularies/apiBinding#topic` | + | 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` | + +## SolaceOperationDestination030 + +Types: +* `http://a.ml/vocabularies/apiBinding#SolaceOperationDestination030` +* `http://a.ml/vocabularies/apiBinding#SolaceOperationDestination` +* `http://a.ml/vocabularies/document#DomainElement` + + | Name | Value | Sorted | Documentation | Namespace | + | ------ | ------ | ------ | ------ | ------ | + | destinationType | string | - | 'queue' or 'topic'. If the type is queue, then the subscriber can bind to the queue, which in turn will subscribe to the topic as represented by the channel name or to the provided topicSubscriptions. | `http://a.ml/vocabularies/apiBinding#destinationType` | + | deliveryMode | string | - | 'direct' or 'persistent'. This determines the quality of service for publishing messages. Default is 'persistent'. | `http://a.ml/vocabularies/apiBinding#deliveryMode` | + | queue | [SolaceOperationQueue030](#solaceoperationqueue030) | - | Defines the properties of a queue. | `http://a.ml/vocabularies/apiBinding#queue` | + | topic | [SolaceOperationTopic](#solaceoperationtopic) | - | Defines the properties of a topic. | `http://a.ml/vocabularies/apiBinding#topic` | + | 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` | + +## SolaceOperationDestination040 + +Types: +* `http://a.ml/vocabularies/apiBinding#SolaceOperationDestination040` +* `http://a.ml/vocabularies/apiBinding#SolaceOperationDestination` +* `http://a.ml/vocabularies/document#DomainElement` + + | Name | Value | Sorted | Documentation | Namespace | + | ------ | ------ | ------ | ------ | ------ | + | destinationType | string | - | 'queue' or 'topic'. If the type is queue, then the subscriber can bind to the queue, which in turn will subscribe to the topic as represented by the channel name or to the provided topicSubscriptions. | `http://a.ml/vocabularies/apiBinding#destinationType` | + | deliveryMode | string | - | 'direct' or 'persistent'. This determines the quality of service for publishing messages. Default is 'persistent'. | `http://a.ml/vocabularies/apiBinding#deliveryMode` | + | queue | [SolaceOperationQueue030](#solaceoperationqueue030) | - | Defines the properties of a queue. | `http://a.ml/vocabularies/apiBinding#queue` | + | bindingVersion | string | - | The binding version. | `http://a.ml/vocabularies/apiBinding#bindingVersion` | | topic | [SolaceOperationTopic](#solaceoperationtopic) | - | Defines the properties of a topic. | `http://a.ml/vocabularies/apiBinding#topic` | | 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` | @@ -3643,8 +4037,32 @@ Types: | ------ | ------ | ------ | ------ | ------ | | topicSubscriptions | [string] | false | A list of topics that the queue subscribes to, only applicable when destinationType is 'queue'. If none is given, the queue subscribes to the topic as represented by the channel name. | `http://a.ml/vocabularies/apiBinding#topicSubscriptions` | | accessType | string | - | 'exclusive' or 'nonexclusive'. Only applicable when destinationType is 'queue'. | `http://a.ml/vocabularies/apiBinding#accessType` | - | maxMsgSpoolSize | string | - | The maximum amount of message spool that the given queue may use. Only applicable when destinationType is 'queue'. | `http://a.ml/vocabularies/apiBinding#maxMsgSpoolSize` | - | maxTtl | string | - | The maximum TTL to apply to messages to be spooled. Only applicable when destinationType is 'queue'. | `http://a.ml/vocabularies/apiBinding#maxTtl` | + | 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` | + +## SolaceOperationQueue010 + +Types: +* `http://a.ml/vocabularies/apiBinding#SolaceOperationQueue010` +* `http://a.ml/vocabularies/apiBinding#SolaceOperationQueue` +* `http://a.ml/vocabularies/document#DomainElement` + + | Name | Value | Sorted | Documentation | Namespace | + | ------ | ------ | ------ | ------ | ------ | + | topicSubscriptions | [string] | false | A list of topics that the queue subscribes to, only applicable when destinationType is 'queue'. If none is given, the queue subscribes to the topic as represented by the channel name. | `http://a.ml/vocabularies/apiBinding#topicSubscriptions` | + | accessType | string | - | 'exclusive' or 'nonexclusive'. Only applicable when destinationType is 'queue'. | `http://a.ml/vocabularies/apiBinding#accessType` | + | 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` | + +## SolaceOperationQueue030 + +Types: +* `http://a.ml/vocabularies/apiBinding#SolaceOperationQueue030` +* `http://a.ml/vocabularies/apiBinding#SolaceOperationDestination` +* `http://a.ml/vocabularies/document#DomainElement` + + | Name | Value | Sorted | Documentation | Namespace | + | ------ | ------ | ------ | ------ | ------ | + | maxMsgSpoolSize | string | - | The maximum size of the message spool used by the queue. | `http://a.ml/vocabularies/apiBinding#maxMsgSpoolSize` | + | maxTtl | string | - | The maximum time-to-live for messages in the queue. | `http://a.ml/vocabularies/apiBinding#maxTtl` | | 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` | ## SolaceOperationTopic @@ -3672,6 +4090,36 @@ Types: | type | string | - | Binding for a corresponding known type | `http://a.ml/vocabularies/apiBinding#type` | | 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` | +## SolaceServerBinding010 + +Types: +* `http://a.ml/vocabularies/apiBinding#SolaceServerBinding010` +* `http://a.ml/vocabularies/apiBinding#SolaceServerBinding` +* `http://a.ml/vocabularies/apiBinding#ServerBinding` +* `http://a.ml/vocabularies/document#DomainElement` + + | Name | Value | Sorted | Documentation | Namespace | + | ------ | ------ | ------ | ------ | ------ | + | msgVpn | string | - | The Virtual Private Network name on the Solace broker. | `http://a.ml/vocabularies/apiBinding#msgVpn` | + | bindingVersion | string | - | The version of this binding | `http://a.ml/vocabularies/apiBinding#bindingVersion` | + | type | string | - | Binding for a corresponding known type | `http://a.ml/vocabularies/apiBinding#type` | + | 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` | + +## SolaceServerBinding040 + +Types: +* `http://a.ml/vocabularies/apiBinding#SolaceServerBinding040` +* `http://a.ml/vocabularies/apiBinding#ServerBinding` +* `http://a.ml/vocabularies/document#DomainElement` + + | Name | Value | Sorted | Documentation | Namespace | + | ------ | ------ | ------ | ------ | ------ | + | msgVpn | string | - | The Virtual Private Network name on the Solace broker. | `http://a.ml/vocabularies/apiBinding#msgVpn` | + | bindingVersion | string | - | The version of this binding | `http://a.ml/vocabularies/apiBinding#bindingVersion` | + | clientName | string | - | A unique client name to use to register to the appliance. If specified, it must be a valid Topic name, and a maximum of 160 bytes in length when encoded as UTF-8. | `http://a.ml/vocabularies/apiBinding#clientName` | + | type | string | - | Binding for a corresponding known type | `http://a.ml/vocabularies/apiBinding#type` | + | 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` | + ## SourceMap SourceMaps include tags with syntax specific information obtained when parsing a particular specification syntax like RAML or OpenAPI. It can be used to re-generate the document from the RDF model with a similar syntax