Zum Inhalt
HALOWERK

Technische Prüfungen & Formate

F TD2000 DOCUMENTS 15 / shex21 acyclic shape triple partition cardinality extra closed validation

Validate supplied RDF focus nodes against a complete finite acyclic ShEx shape universe with exact unordered triple allocation witnesses.. Compare the complete typed result SHA256.

POST https://detect.halowerk.com/v1/F-TD2000-DOCUMENTS-15/shex21-acyclic-shape-triple-partition-cardinality-extra-closed-validation

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": [
        "shex"
      ],
      "properties": {
        "shex": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "data",
            "claim"
          ],
          "properties": {
            "data": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "triples",
                "shapes",
                "expressions",
                "queries"
              ],
              "properties": {
                "triples": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "subject",
                      "predicate",
                      "object"
                    ],
                    "properties": {
                      "subject": {
                        "$ref": "#/properties/artifact/%24defs/a"
                      },
                      "predicate": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 512
                      },
                      "object": {
                        "$ref": "#/properties/artifact/%24defs/a"
                      }
                    }
                  },
                  "maxItems": 12
                },
                "shapes": {
                  "type": "array",
                  "items": {
                    "anyOf": [
                      {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "kind",
                          "id",
                          "node_kind",
                          "datatype",
                          "values"
                        ],
                        "properties": {
                          "kind": {
                            "const": "node_constraint"
                          },
                          "id": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 48,
                            "pattern": "^[A-Za-z_][A-Za-z0-9_.-]*$"
                          },
                          "node_kind": {
                            "anyOf": [
                              {
                                "type": "null"
                              },
                              {
                                "enum": [
                                  "iri",
                                  "blank",
                                  "literal",
                                  "nonliteral"
                                ]
                              }
                            ]
                          },
                          "datatype": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "minLength": 1,
                            "maxLength": 512
                          },
                          "values": {
                            "type": [
                              "array",
                              "null"
                            ],
                            "items": {
                              "$ref": "#/properties/artifact/%24defs/a"
                            },
                            "maxItems": 16
                          }
                        }
                      },
                      {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "kind",
                          "id",
                          "expression",
                          "closed",
                          "extra"
                        ],
                        "properties": {
                          "kind": {
                            "const": "shape"
                          },
                          "id": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 48,
                            "pattern": "^[A-Za-z_][A-Za-z0-9_.-]*$"
                          },
                          "expression": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "minLength": 1,
                            "maxLength": 48,
                            "pattern": "^[A-Za-z_][A-Za-z0-9_.-]*$"
                          },
                          "closed": {
                            "type": "boolean"
                          },
                          "extra": {
                            "type": "array",
                            "items": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 512
                            },
                            "maxItems": 16
                          }
                        }
                      }
                    ]
                  },
                  "minItems": 1,
                  "maxItems": 24
                },
                "expressions": {
                  "type": "array",
                  "items": {
                    "anyOf": [
                      {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "kind",
                          "id",
                          "predicate",
                          "inverse",
                          "value_shape",
                          "min",
                          "max"
                        ],
                        "properties": {
                          "kind": {
                            "const": "triple"
                          },
                          "id": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 48,
                            "pattern": "^[A-Za-z_][A-Za-z0-9_.-]*$"
                          },
                          "predicate": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 512
                          },
                          "inverse": {
                            "type": "boolean"
                          },
                          "value_shape": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "minLength": 1,
                            "maxLength": 48,
                            "pattern": "^[A-Za-z_][A-Za-z0-9_.-]*$"
                          },
                          "min": {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 8
                          },
                          "max": {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 8
                          }
                        }
                      },
                      {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "kind",
                          "id",
                          "expressions",
                          "min",
                          "max"
                        ],
                        "properties": {
                          "kind": {
                            "enum": [
                              "each_of",
                              "one_of"
                            ]
                          },
                          "id": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 48,
                            "pattern": "^[A-Za-z_][A-Za-z0-9_.-]*$"
                          },
                          "expressions": {
                            "type": "array",
                            "items": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 48,
                              "pattern": "^[A-Za-z_][A-Za-z0-9_.-]*$"
                            },
                            "minItems": 2,
                            "maxItems": 8
                          },
                          "min": {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 4
                          },
                          "max": {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 4
                          }
                        }
                      }
                    ]
                  },
                  "maxItems": 32
                },
                "queries": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "focus",
                      "shape"
                    ],
                    "properties": {
                      "focus": {
                        "$ref": "#/properties/artifact/%24defs/a"
                      },
                      "shape": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 48,
                        "pattern": "^[A-Za-z_][A-Za-z0-9_.-]*$"
                      }
                    }
                  },
                  "minItems": 1,
                  "maxItems": 8
                }
              }
            },
            "claim": {
              "type": [
                "string",
                "null"
              ],
              "minLength": 64,
              "maxLength": 64,
              "pattern": "^[0-9a-f]{64}$"
            }
          }
        }
      },
      "$defs": {
        "a": {
          "anyOf": [
            {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "kind",
                "value"
              ],
              "properties": {
                "kind": {
                  "enum": [
                    "iri",
                    "blank"
                  ]
                },
                "value": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 1024
                }
              }
            },
            {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "kind",
                "value",
                "datatype",
                "language",
                "well_typed"
              ],
              "properties": {
                "kind": {
                  "const": "literal"
                },
                "value": {
                  "type": "string",
                  "maxLength": 1024
                },
                "datatype": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 512
                },
                "language": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "minLength": 1,
                  "maxLength": 64
                },
                "well_typed": {
                  "type": "boolean"
                }
              }
            }
          ]
        }
      }
    }
  }
}

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 →