Skip to content

OpeningHours

Type: schema

TypeScript Definition

typescript
OpeningHours: {{
            monday: {
                /** Format: time */
                opening_time: string;
                /** Format: time */
                closing_time: string;
            } | null;
            tuesday: {
                /** Format: time */
                opening_time: string;
                /** Format: time */
                closing_time: string;
            } | null;
            wednesday: {
                /** Format: time */
                opening_time: string;
                /** Format: time */
                closing_time: string;
            } | null;
            thursday: {
                /** Format: time */
                opening_time: string;
                /** Format: time */
                closing_time: string;
            } | null;
            friday: {
                /** Format: time */
                opening_time: string;
                /** Format: time */
                closing_time: string;
            } | null;
            saturday: {
                /** Format: time */
                opening_time: string;
                /** Format: time */
                closing_time: string;
            } | null;
            sunday: {
                /** Format: time */
                opening_time: string;
                /** Format: time */
                closing_time: string;
            } | null;
        };
        /** Order */
}

OpenAPI Schema

json
{
  "type": "object",
  "properties": {
    "monday": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "opening_time": {
          "type": "string",
          "format": "time"
        },
        "closing_time": {
          "type": "string",
          "format": "time"
        }
      },
      "required": [
        "opening_time",
        "closing_time"
      ]
    },
    "tuesday": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "opening_time": {
          "type": "string",
          "format": "time"
        },
        "closing_time": {
          "type": "string",
          "format": "time"
        }
      },
      "required": [
        "opening_time",
        "closing_time"
      ]
    },
    "wednesday": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "opening_time": {
          "type": "string",
          "format": "time"
        },
        "closing_time": {
          "type": "string",
          "format": "time"
        }
      },
      "required": [
        "opening_time",
        "closing_time"
      ]
    },
    "thursday": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "opening_time": {
          "type": "string",
          "format": "time"
        },
        "closing_time": {
          "type": "string",
          "format": "time"
        }
      },
      "required": [
        "opening_time",
        "closing_time"
      ]
    },
    "friday": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "opening_time": {
          "type": "string",
          "format": "time"
        },
        "closing_time": {
          "type": "string",
          "format": "time"
        }
      },
      "required": [
        "opening_time",
        "closing_time"
      ]
    },
    "saturday": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "opening_time": {
          "type": "string",
          "format": "time"
        },
        "closing_time": {
          "type": "string",
          "format": "time"
        }
      },
      "required": [
        "opening_time",
        "closing_time"
      ]
    },
    "sunday": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "opening_time": {
          "type": "string",
          "format": "time"
        },
        "closing_time": {
          "type": "string",
          "format": "time"
        }
      },
      "required": [
        "opening_time",
        "closing_time"
      ]
    }
  },
  "required": [
    "monday",
    "tuesday",
    "wednesday",
    "thursday",
    "friday",
    "saturday",
    "sunday"
  ]
}

Auto-generated from OpenAPI spec and TypeScript definitions

Last updated: