alloy.proto.ProtoCompactUUID.scala Maven / Gradle / Ivy
package alloy.proto
import smithy4s.Hints
import smithy4s.Schema
import smithy4s.ShapeId
import smithy4s.ShapeTag
import smithy4s.schema.Schema.constant
final case class ProtoCompactUUID()
object ProtoCompactUUID extends ShapeTag.Companion[ProtoCompactUUID] {
val id: ShapeId = ShapeId("alloy.proto", "protoCompactUUID")
val hints: Hints = Hints(
smithy.api.Trait(selector = Some(":test(string [trait|alloy#uuidFormat], member > string [trait|alloy#uuidFormat])"), structurallyExclusive = None, conflicts = None, breakingChanges = None),
).lazily
implicit val schema: Schema[ProtoCompactUUID] = constant(ProtoCompactUUID()).withId(id).addHints(hints)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy