{
  "x402Version": 2,
  "id": 15279,
  "slug": "15279",
  "resource": "https://prop.halowerk.com/v1/occupancy-optimize",
  "description": "Sorts groups by size, then assigns each to the available room that has all required features and minimizes unused capacity, hourly cost and room identifier in that order. This fast heuristic is not guaranteed globally optimal and does not handle time overlap, accessibility beyond supplied features, movement, privacy or building-code constraints.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x2880EdfFF13100677Bf97A3CBdF3Bc34771C4E5E",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "4000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "groups": [
              {
                "group_id": "design",
                "people": 12,
                "required_features": [
                  "video"
                ]
              },
              {
                "group_id": "review",
                "people": 7,
                "required_features": [
                  "screen"
                ]
              }
            ],
            "rooms": [
              {
                "capacity": 8,
                "features": [
                  "screen"
                ],
                "hourly_cost": 40,
                "room_id": "r-101"
              },
              {
                "capacity": 14,
                "features": [
                  "screen",
                  "video"
                ],
                "hourly_cost": 65,
                "room_id": "r-202"
              },
              {
                "capacity": 20,
                "features": [
                  "screen",
                  "video",
                  "accessible"
                ],
                "hourly_cost": 72,
                "room_id": "r-303"
              }
            ]
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "groups": {
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "group_id": {
                          "maxLength": 128,
                          "minLength": 1,
                          "type": "string"
                        },
                        "people": {
                          "maximum": 1000000,
                          "minimum": 1,
                          "type": "integer"
                        },
                        "required_features": {
                          "items": {
                            "maxLength": 128,
                            "minLength": 1,
                            "type": "string"
                          },
                          "maxItems": 1000,
                          "type": "array",
                          "uniqueItems": true
                        }
                      },
                      "required": [
                        "group_id",
                        "people",
                        "required_features"
                      ],
                      "type": "object"
                    },
                    "maxItems": 10000,
                    "minItems": 1,
                    "type": "array"
                  },
                  "rooms": {
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "capacity": {
                          "maximum": 1000000,
                          "minimum": 1,
                          "type": "integer"
                        },
                        "features": {
                          "items": {
                            "maxLength": 128,
                            "minLength": 1,
                            "type": "string"
                          },
                          "maxItems": 1000,
                          "type": "array",
                          "uniqueItems": true
                        },
                        "hourly_cost": {
                          "maximum": 1000000000000,
                          "minimum": 0,
                          "type": "number"
                        },
                        "room_id": {
                          "maxLength": 128,
                          "minLength": 1,
                          "type": "string"
                        }
                      },
                      "required": [
                        "room_id",
                        "capacity",
                        "hourly_cost",
                        "features"
                      ],
                      "type": "object"
                    },
                    "maxItems": 10000,
                    "minItems": 1,
                    "type": "array"
                  }
                },
                "required": [
                  "rooms",
                  "groups"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST",
                  "PUT",
                  "PATCH"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "prop.halowerk.com",
  "lastUpdated": "2026-09-01T07:57:40.914Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-01T07:57:40.464Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "prop.halowerk.com",
    "manifest_name": "prop.halowerk.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}