Zum Inhalt
HALOWERK

Technische Prüfungen & Formate

F TD2000 DATASTRUCTURES 02 / npy12 safe literal structured dtype array materialization

Decode a complete bounded NPY header/dtype with safe literal parsing, nested structured/subarray fields, endian values and C/Fortran indexing.

POST https://detect.halowerk.com/v1/F-TD2000-DATASTRUCTURES-02/npy12-safe-literal-structured-dtype-array-materialization

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": [
        "npy"
      ],
      "properties": {
        "npy": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "data",
            "claim"
          ],
          "properties": {
            "data": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "file_base64",
                "native_byte_order"
              ],
              "properties": {
                "file_base64": {
                  "type": "string",
                  "maxLength": 16000,
                  "minLength": 0
                },
                "native_byte_order": {
                  "enum": [
                    "little",
                    "big"
                  ]
                }
              }
            },
            "claim": {
              "anyOf": [
                {
                  "type": "null"
                },
                {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "data_offset",
                    "elements",
                    "fortran_order",
                    "layout",
                    "shape",
                    "version"
                  ],
                  "properties": {
                    "data_offset": {
                      "type": "number"
                    },
                    "elements": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "indices",
                          "value"
                        ],
                        "properties": {
                          "indices": {
                            "type": "array",
                            "items": {
                              "type": "number"
                            },
                            "minItems": 0,
                            "maxItems": 4096
                          },
                          "value": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "path",
                                "scalar"
                              ],
                              "properties": {
                                "path": {
                                  "type": "array",
                                  "items": {
                                    "type": "number"
                                  },
                                  "minItems": 0,
                                  "maxItems": 4096
                                },
                                "scalar": {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "required": [
                                    "bytes",
                                    "imaginary",
                                    "kind",
                                    "sha256",
                                    "value"
                                  ],
                                  "properties": {
                                    "bytes": {
                                      "type": "number"
                                    },
                                    "imaginary": {
                                      "anyOf": [
                                        {
                                          "type": "null"
                                        },
                                        {
                                          "type": "number"
                                        }
                                      ]
                                    },
                                    "kind": {
                                      "type": "string",
                                      "maxLength": 20000,
                                      "minLength": 0
                                    },
                                    "sha256": {
                                      "anyOf": [
                                        {
                                          "type": "null"
                                        },
                                        {
                                          "type": "string",
                                          "maxLength": 20000,
                                          "minLength": 0
                                        }
                                      ]
                                    },
                                    "value": {
                                      "anyOf": [
                                        {
                                          "type": "boolean"
                                        },
                                        {
                                          "type": "null"
                                        },
                                        {
                                          "type": "number"
                                        },
                                        {
                                          "type": "string",
                                          "maxLength": 20000,
                                          "minLength": 0
                                        }
                                      ]
                                    }
                                  }
                                }
                              }
                            },
                            "minItems": 0,
                            "maxItems": 4096
                          }
                        }
                      },
                      "minItems": 0,
                      "maxItems": 4096
                    },
                    "fortran_order": {
                      "type": "boolean"
                    },
                    "layout": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "byte_offset",
                          "field",
                          "format",
                          "itemsize",
                          "kind",
                          "node",
                          "parent",
                          "shape"
                        ],
                        "properties": {
                          "byte_offset": {
                            "type": "number"
                          },
                          "field": {
                            "anyOf": [
                              {
                                "type": "null"
                              },
                              {
                                "type": "number"
                              }
                            ]
                          },
                          "format": {
                            "anyOf": [
                              {
                                "type": "null"
                              },
                              {
                                "type": "string",
                                "maxLength": 20000,
                                "minLength": 0
                              }
                            ]
                          },
                          "itemsize": {
                            "type": "number"
                          },
                          "kind": {
                            "type": "string",
                            "maxLength": 20000,
                            "minLength": 0
                          },
                          "node": {
                            "type": "number"
                          },
                          "parent": {
                            "anyOf": [
                              {
                                "type": "null"
                              },
                              {
                                "type": "number"
                              }
                            ]
                          },
                          "shape": {
                            "type": "array",
                            "items": {
                              "type": "number"
                            },
                            "minItems": 0,
                            "maxItems": 4096
                          }
                        }
                      },
                      "minItems": 0,
                      "maxItems": 4096
                    },
                    "shape": {
                      "type": "array",
                      "items": {
                        "type": "number"
                      },
                      "minItems": 0,
                      "maxItems": 4096
                    },
                    "version": {
                      "type": "number"
                    }
                  }
                }
              ]
            }
          }
        }
      }
    }
  }
}

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 →