# SPDX License Expression Minimal Choice Normal Form

> SPDX License Expression Minimal Choice Normal Form is a paid API for AI agents from detect.halowerk.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-11-24).

Enumerates the minimal atomic license combinations (complete minimal choice normal form) denoted by an SPDX license expression.

## Facts

- Endpoint: POST https://detect.halowerk.com/v1/F-TD2000-DOCUMENTS-01/spdx-license-expression-complete-minimal-choice-normal-form?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-24
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/spdx-license-expression-minimal-choice-normal-form-1c17603d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_UoGVI2WROApFUZ6hjuhef

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability spdx-license-expression-minimal-choice-normal-form-1c17603d -d '<json body>'
```

Example prompt: What are all the minimal atomic license combinations for the SPDX expression '(MIT OR Apache-2.0) AND (GPL-2.0-only OR LGPL-2.1-or-later)'? Give me the complete minimal choice normal form.

## When to prefer this

Use this endpoint when you need to programmatically enumerate every minimal atomic license option encoded in an SPDX expression, particularly for SBOM generation, license compliance pipelines, automated legal review tooling, or when you need to present human-readable license choice options to developers. It is specifically suited for SPDX expression parsing and normalization rather than generic license text analysis.

## Known failure modes

- Invalid or malformed SPDX expression returns a parsing error
- Expression exceeding 1000 characters is rejected
- Claim array exceeding 4096 items or inner arrays exceeding 4096 elements may be rejected
- Unsupported or unknown SPDX license identifiers may cause computation failure
- Network timeout for extremely complex expressions with large disjunctive expansions

## How this service works

Enumerate the minimal atomic license combinations denoted by an SPDX expression.

## Output

Returns a structured artifact containing an array of minimal license combinations, where each combination is an array of SPDX license identifiers (strings). Each inner array represents a minimal valid atomic selection of licenses that satisfies the original SPDX expression, covering the complete minimal choice normal form.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "artifact": {
   "type": "object",
   "required": [
    "licenseChoices"
   ],
   "properties": {
    "licenseChoices": {
     "type": "object",
     "required": [
      "data",
      "claim"
     ],
     "properties": {
      "data": {
       "type": "object",
       "required": [
        "expression"
       ],
       "properties": {
        "expression": {
         "type": "string",
         "maxLength": 1000
        }
       },
       "additionalProperties": false
      },
      "claim": {
       "anyOf": [
        {
         "type": "null"
        },
        {
         "type": "object",
         "required": [
          "minimal_license_choices"
         ],
         "properties": {
          "minimal_license_choices": {
           "type": "array",
           "items": {
            "type": "array",
            "items": {
             "type": "string",
             "maxLength": 20000
            },
            "maxItems": 4096
           },
           "maxItems": 4096
          }
         },
         "additionalProperties": false
        }
       ]
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/spdx-license-expression-minimal-choice-normal-form-1c17603d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from detect.halowerk.com](https://www.zero.xyz/host/detect.halowerk.com/llms.txt)
