// Generated by scripts/vendor-prelude.mbtx from smithy-lang/smithy at 30bdab593f0c2cdf96036782cc3ce15c43a711ef.
// Copyright Amazon.com, Inc. or its affiliates. Apache-2.0.

///|
fn contracts_text() -> String {
  (
    #|$version: "2.0"
    #|
    #|namespace smithy.contracts
    #|
    #|/// Restricts shape values to those that satisfy one or more JMESPath expressions.
    #|/// Each expression must produce `true`.
    #|@trait(selector: ":not(:test(service, operation, resource))")
    #|map conditions {
    #|    /// Name of the condition
    #|    key: ConditionName
    #|
    #|    /// Definition of the condition
    #|    value: Condition
    #|}
    #|
    #|/// A name of a condition.
    #|@pattern("^[A-Z]+[A-Za-z0-9]*$")
    #|string ConditionName
    #|
    #|/// Defines an individual condition.
    #|structure Condition {
    #|    /// JMESPath expression that must evaluate to `true`.
    #|    @required
    #|    expression: String
    #|
    #|    /// Documentation about the condition. Can use CommonMark.
    #|    @required
    #|    documentation: String
    #|}
    #|
  )
}