Skip to content
HALOWERK

File Formats and Conversion

project best supported alternative

Feature alternative ranking selects the first candidate with the greatest number of fully supported deployment targets. Use it when an agent needs a bounded compatibility decision for a project feature list.

POST https://format.halowerk.com/v1/project-best-supported-alternative

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
featuresarrayYes
targetsarrayYes
snapshotSee schemaNo
Show full input schema
{
  "type": "object",
  "properties": {
    "features": {
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 160
      },
      "minItems": 1,
      "maxItems": 24
    },
    "targets": {
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 160
      },
      "minItems": 1,
      "maxItems": 8
    },
    "snapshot": {
      "enum": [
        "8.1.11"
      ]
    }
  },
  "required": [
    "features",
    "targets"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "features": [
    "api.AbortController",
    "api.AbortSignal",
    "api.ResizeObserver"
  ],
  "targets": [
    "chrome@80",
    "safari@11.1",
    "firefox@80"
  ],
  "snapshot": "8.1.11"
}

Result & documentation

Show published result schema
{
  "type": "object",
  "required": [
    "measured_at",
    "source",
    "data",
    "limitations"
  ],
  "properties": {
    "measured_at": {
      "type": "string"
    },
    "source": {
      "type": "object",
      "required": [
        "reference",
        "retrieved_at"
      ],
      "properties": {
        "reference": {
          "type": "string"
        },
        "retrieved_at": {
          "type": "string"
        }
      }
    },
    "data": {
      "type": "object",
      "properties": {
        "choice": {
          "type": "string"
        },
        "full_targets": {
          "type": "integer"
        },
        "ties": {
          "type": "integer"
        }
      },
      "required": [
        "choice",
        "full_targets",
        "ties"
      ]
    },
    "limitations": {
      "type": "string"
    }
  }
}

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-12-05 UTC.

More endpoints in this hub

All endpoints in this hub โ†’