{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/adyen/refs/heads/main/json-schema/pos-terminal-store-schema.json",
  "title": "Store",
  "description": "Store schema from Adyen API",
  "type": "object",
  "properties": {
    "address": {
      "description": "The address of the store.",
      "$ref": "#/components/schemas/Address"
    },
    "description": {
      "description": "The description of the store.",
      "type": "string"
    },
    "inStoreTerminals": {
      "description": "The list of terminals assigned to the store.",
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "merchantAccountCode": {
      "description": "The code of the merchant account.",
      "type": "string"
    },
    "status": {
      "description": "The status of the store:\n\n- `PreActive`: the store has been created, but not yet activated. \n\n- `Active`: the store has been activated. This means you can process payments for this store. \n\n- `Inactive`: the store is currently not active. \n\n- `InactiveWithModifications`: the store is currently not active, but payment modifications such as refunds are possible. \n\n- `Closed`: the store has been closed. ",
      "type": "string"
    },
    "store": {
      "description": "The code of the store.",
      "type": "string"
    }
  },
  "required": [
    "store"
  ]
}