{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/gymflexa-com/json-schema/gymflexa-com-gym-schema.json",
  "title": "Gym",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/gymflexa-com-api-openapi.json#/components/schemas/Gym",
  "type": "object",
  "required": [
    "_id"
  ],
  "properties": {
    "_id": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "email": {
      "type": "string",
      "format": "email"
    },
    "phone": {
      "type": "string"
    },
    "address": {
      "type": "string"
    },
    "countryCode": {
      "type": "string"
    },
    "appointmentDuration": {
      "type": "integer",
      "minimum": 1
    },
    "openingHours": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": true
      }
    },
    "creationTime": {
      "type": "string",
      "format": "date-time",
      "readOnly": true
    },
    "lastEditTime": {
      "type": "string",
      "format": "date-time"
    }
  },
  "additionalProperties": true
}