All Downloads are FREE. Search and download functionalities are using the official Maven repository.

alloy.proto.ProtoCompactUUID.scala Maven / Gradle / Ivy

There is a newer version: 0.19.0-41-91762fb
Show newest version
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