{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/gymflexa-com/json-schema/gymflexa-com-service-schema.json",
  "title": "Service",
  "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/Service",
  "type": "object",
  "required": [
    "_id"
  ],
  "properties": {
    "_id": {
      "type": "string"
    },
    "gymId": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "duration": {
      "type": "integer",
      "minimum": 1
    },
    "price": {
      "type": "number"
    },
    "color": {
      "type": "string"
    },
    "creationTime": {
      "type": "string",
      "format": "date-time",
      "readOnly": true
    },
    "lastEditTime": {
      "type": "string",
      "format": "date-time"
    }
  },
  "additionalProperties": true
}