{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "gas_adapter_contract.v1",
  "type": "object",
  "required": [
    "schema_version",
    "exports"
  ],
  "properties": {
    "schema_version": {
      "type": "string"
    },
    "exports": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "function_name",
          "min_arity",
          "max_arity",
          "return_shape",
          "sheet_key"
        ],
        "properties": {
          "function_name": {
            "type": "string"
          },
          "min_arity": {
            "type": "integer",
            "minimum": 0
          },
          "max_arity": {
            "type": "integer",
            "minimum": 0
          },
          "return_shape": {
            "type": "string"
          },
          "sheet_key": {
            "type": "string"
          },
          "status": {
            "type": "string"
          }
        }
      }
    }
  },
  "additionalProperties": true
}
