{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/surfsessionfinder-com/json-schema/surfsessionfinder-com-session-response-schema.json",
  "title": "SessionResponse",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/surfsessionfinder-com-openapi.json#/components/schemas/SessionResponse",
  "properties": {
    "ID": {
      "type": "integer",
      "title": "Id"
    },
    "SESSION_DATE": {
      "type": "string",
      "title": "Session Date"
    },
    "SESSION_TIME": {
      "type": "string",
      "title": "Session Time"
    },
    "SESSION_DATETIME_UTCISO": {
      "type": "string",
      "title": "Session Datetime Utciso"
    },
    "SESSION_TITLE": {
      "type": "string",
      "title": "Session Title"
    },
    "SESSION_SIDE": {
      "$ref": "#/$defs/SessionSide"
    },
    "AVAILABLE_SPOTS": {
      "type": "integer",
      "title": "Available Spots"
    },
    "LEVEL_NAME": {
      "type": "string",
      "title": "Level Name"
    },
    "STATUS": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Status"
    },
    "AREA": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Area"
    },
    "POOL_ID": {
      "type": "string",
      "title": "Pool Id"
    },
    "EXT_URL": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Ext Url"
    },
    "DATE_CLIENT_STR": {
      "type": "string",
      "title": "Date Client Str"
    }
  },
  "type": "object",
  "required": [
    "ID",
    "SESSION_DATE",
    "SESSION_TIME",
    "SESSION_DATETIME_UTCISO",
    "SESSION_TITLE",
    "SESSION_SIDE",
    "AVAILABLE_SPOTS",
    "LEVEL_NAME",
    "POOL_ID",
    "DATE_CLIENT_STR"
  ],
  "$defs": {
    "SessionSide": {
      "type": "string",
      "enum": [
        "LEFT",
        "RIGHT"
      ],
      "title": "SessionSide"
    }
  }
}