{
  "fields": [
    {
      "key": "name",
      "name": "Name",
      "type": "text",
      "required": true
    },
    {
      "key": "source_job_id",
      "name": "Source Job Id",
      "type": "text",
      "system_managed": true,
      "editable": false,
      "public": false,
      "public_create": false,
      "protected": true
    },
    {
      "key": "status",
      "name": "Status",
      "type": "select",
      "options": [
        "draft",
        "active",
        "closed"
      ],
      "system_managed": true,
      "editable": false,
      "public": false,
      "public_create": false,
      "protected": true
    },
    {
      "key": "kind",
      "name": "Kind",
      "type": "text",
      "system_managed": true,
      "editable": false,
      "public": false,
      "public_create": false,
      "protected": true
    },
    {
      "key": "capture_mode",
      "name": "Capture Mode",
      "type": "text",
      "system_managed": true,
      "editable": false,
      "public": false,
      "public_create": false,
      "protected": true
    },
    {
      "key": "related_order_id",
      "name": "Related Order Id",
      "type": "text",
      "system_managed": true,
      "editable": false,
      "public": false,
      "public_create": false,
      "protected": true
    },
    {
      "key": "provider",
      "name": "Provider",
      "type": "text",
      "system_managed": true,
      "editable": false,
      "public": false,
      "provider": true,
      "protected": true
    },
    {
      "key": "provider_checkout_id",
      "name": "Provider Checkout Id",
      "type": "text",
      "system_managed": true,
      "editable": false,
      "public": false,
      "provider": true,
      "protected": true
    },
    {
      "key": "provider_payment_id",
      "name": "Provider Payment Id",
      "type": "text",
      "system_managed": true,
      "editable": false,
      "public": false,
      "provider": true,
      "protected": true
    },
    {
      "key": "provider_capture_id",
      "name": "Provider Capture Id",
      "type": "text",
      "system_managed": true,
      "editable": false,
      "public": false,
      "provider": true,
      "protected": true
    },
    {
      "key": "provider_customer_id",
      "name": "Provider Customer Id",
      "type": "text",
      "system_managed": true,
      "editable": false,
      "public": false,
      "provider": true,
      "protected": true
    },
    {
      "key": "provider_payment_method_id",
      "name": "Provider Payment Method Id",
      "type": "text",
      "system_managed": true,
      "editable": false,
      "public": false,
      "provider": true,
      "protected": true
    },
    {
      "key": "provider_setup_id",
      "name": "Provider Setup Id",
      "type": "text",
      "system_managed": true,
      "editable": false,
      "public": false,
      "provider": true,
      "protected": true
    },
    {
      "key": "stripe_checkout_session_id",
      "name": "Stripe Checkout Session Id",
      "type": "text",
      "system_managed": true,
      "editable": false,
      "public": false,
      "provider": true,
      "protected": true
    },
    {
      "key": "stripe_payment_intent_id",
      "name": "Stripe Payment Intent Id",
      "type": "text",
      "system_managed": true,
      "editable": false,
      "public": false,
      "provider": true,
      "protected": true
    },
    {
      "key": "amount_total",
      "name": "Amount Total",
      "type": "text",
      "system_managed": true,
      "editable": false,
      "public": false,
      "public_create": false,
      "protected": true
    },
    {
      "key": "amount_paid",
      "name": "Amount Paid",
      "type": "text",
      "system_managed": true,
      "editable": false,
      "public": false,
      "public_create": false,
      "protected": true
    },
    {
      "key": "amount_refunded",
      "name": "Amount Refunded",
      "type": "text",
      "system_managed": true,
      "editable": false,
      "public": false,
      "public_create": false,
      "protected": true
    },
    {
      "key": "paid_at",
      "name": "Paid At",
      "type": "date",
      "system_managed": true,
      "editable": false,
      "public": false,
      "public_create": false,
      "protected": true
    }
  ]
}
