Zum Inhalt
HALOWERK

Technische Prüfungen & Formate

calendar / calendar resource capacity

An agent that publishes a shared-resource calendar needs weighted concurrent booking demand compared with a declared capacity using half-open intervals.

POST https://detect.halowerk.com/v1/calendar/calendar-resource-capacity

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
artifactobjectJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "properties": {
    "artifact": {
      "type": "object",
      "properties": {
        "capacity": {
          "type": "integer",
          "minimum": 0,
          "maximum": 1000000000
        },
        "bookings": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "start": {
                "type": "string",
                "minLength": 20,
                "maxLength": 25
              },
              "end": {
                "type": "string",
                "minLength": 20,
                "maxLength": 25
              },
              "units": {
                "type": "integer",
                "minimum": 0,
                "maximum": 1000000000
              }
            },
            "required": [
              "start",
              "end",
              "units"
            ],
            "additionalProperties": false
          },
          "minItems": 1,
          "maxItems": 512
        }
      },
      "required": [
        "capacity",
        "bookings"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "artifact"
  ],
  "additionalProperties": false
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "artifact": {
    "capacity": 2,
    "bookings": [
      {
        "start": "2026-01-01T10:00:00Z",
        "end": "2026-01-01T11:00:00Z",
        "units": 2
      }
    ]
  }
}

Ergebnis & Dokumentation

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 15:19 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →