Zum Inhalt
HALOWERK

Technische Prüfungen & Formate

F TD2000 DOCUMENTS 04 / css font face width style weight range candidate matching

Resolve eligible same-family CSS font faces across width, style and variable weight ranges.

POST https://detect.halowerk.com/v1/F-TD2000-DOCUMENTS-04/css-font-face-width-style-weight-range-candidate-matching

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
artifactobjectJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "artifact"
  ],
  "properties": {
    "artifact": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "cssFontCandidates"
      ],
      "properties": {
        "cssFontCandidates": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "data",
            "claim"
          ],
          "properties": {
            "data": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "faces",
                "stretch",
                "weight",
                "style"
              ],
              "properties": {
                "faces": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "id",
                      "stretch",
                      "weight",
                      "style"
                    ],
                    "properties": {
                      "id": {
                        "type": "string",
                        "maxLength": 64,
                        "minLength": 1
                      },
                      "stretch": {
                        "type": "array",
                        "items": {
                          "type": "number",
                          "minimum": 1,
                          "maximum": 1000
                        },
                        "maxItems": 2,
                        "minItems": 2
                      },
                      "weight": {
                        "type": "array",
                        "items": {
                          "type": "number",
                          "minimum": 1,
                          "maximum": 1000
                        },
                        "maxItems": 2,
                        "minItems": 2
                      },
                      "style": {
                        "enum": [
                          "normal",
                          "italic"
                        ]
                      }
                    }
                  },
                  "maxItems": 128,
                  "minItems": 1
                },
                "stretch": {
                  "type": "number",
                  "minimum": 1,
                  "maximum": 1000
                },
                "weight": {
                  "type": "number",
                  "minimum": 1,
                  "maximum": 1000
                },
                "style": {
                  "enum": [
                    "normal",
                    "italic"
                  ]
                }
              }
            },
            "claim": {
              "anyOf": [
                {
                  "type": "null"
                },
                {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "eligible_face_ids",
                    "matched_stretch",
                    "matched_style",
                    "matched_weight"
                  ],
                  "properties": {
                    "eligible_face_ids": {
                      "type": "array",
                      "maxItems": 4096,
                      "items": {
                        "type": "string",
                        "maxLength": 20000
                      }
                    },
                    "matched_stretch": {
                      "type": "number",
                      "minimum": -1000000000000,
                      "maximum": 1000000000000
                    },
                    "matched_style": {
                      "type": "string",
                      "maxLength": 20000
                    },
                    "matched_weight": {
                      "type": "number",
                      "minimum": -1000000000000,
                      "maximum": 1000000000000
                    }
                  }
                }
              ]
            }
          }
        }
      }
    }
  }
}

Originalschema öffnen

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 →