Sha256: bc940fdfd62b6f02c024ce5de47755b787e1c20c6f137b8bd5a840ad9b5053c7

Contents?: true

Size: 1.2 KB

Versions: 16

Compression:

Stored size: 1.2 KB

Contents

{
  "name": "payment_v1",
  "doc": "Playground App - the payment",
  "namespace": "<%= namespace %>",
  "type": "record",
  "fields": [
    {
      "name": "gid",
      "type": "string",
      "doc": "Global ID of the payment (UUID)"
    },
    {
      "name": "currency",
      "type": "string",
      "doc": "The currency used for the payment"
    },
    {
      "name": "net_amount_sum",
      "type": "int",
      "doc": "The price sum with tax included in cents"
    },
    {
      "name": "items",
      "type": {
        "items": "<%= namespace %>.item_v1",
        "type": "array"
      },
      "doc": "All connected payment items"
    },
    {
      "name": "state",
      "type": {
        "name": "state",
        "type": "enum",
        "symbols": [
          "pending",
          "authorized",
          "settled",
          "cancelled",
          "failed"
        ]
      },
      "doc": "The current state of the payment"
    },
    {
      "name": "created_at",
      "type": "string",
      "doc": "When the payment was created (ISO 8601)"
    },
    {
      "name": "updated_at",
      "type": [
        "null",
        "string"
      ],
      "doc": "When the payment was last updated (ISO 8601)"
    }
  ]
}

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
rimless-1.8.0 doc/kafka-playground/config/avro_schemas/playground_app/payment_v1.avsc.erb
rimless-1.7.7 doc/kafka-playground/config/avro_schemas/playground_app/payment_v1.avsc.erb
rimless-1.7.6 doc/kafka-playground/config/avro_schemas/playground_app/payment_v1.avsc.erb
rimless-1.7.5 doc/kafka-playground/config/avro_schemas/playground_app/payment_v1.avsc.erb
rimless-1.7.4 doc/kafka-playground/config/avro_schemas/playground_app/payment_v1.avsc.erb
rimless-1.7.3 doc/kafka-playground/config/avro_schemas/playground_app/payment_v1.avsc.erb
rimless-1.7.2 doc/kafka-playground/config/avro_schemas/playground_app/payment_v1.avsc.erb
rimless-1.7.1 doc/kafka-playground/config/avro_schemas/playground_app/payment_v1.avsc.erb
rimless-1.7.0 doc/kafka-playground/config/avro_schemas/playground_app/payment_v1.avsc.erb
rimless-1.6.0 doc/kafka-playground/config/avro_schemas/playground_app/payment_v1.avsc.erb
rimless-1.5.1 doc/kafka-playground/config/avro_schemas/playground_app/payment_v1.avsc.erb
rimless-1.5.0 doc/kafka-playground/config/avro_schemas/playground_app/payment_v1.avsc.erb
rimless-1.4.2 doc/kafka-playground/config/avro_schemas/playground_app/payment_v1.avsc.erb
rimless-1.4.1 doc/kafka-playground/config/avro_schemas/playground_app/payment_v1.avsc.erb
rimless-1.4.0 doc/kafka-playground/config/avro_schemas/playground_app/payment_v1.avsc.erb
rimless-1.3.0 doc/kafka-playground/config/avro_schemas/playground_app/payment_v1.avsc.erb