From f1839215c64884d317f660fb5c271697ddb05c0f Mon Sep 17 00:00:00 2001 From: Christopher Phillips <32073428+spiffcs@users.noreply.github.com> Date: Thu, 13 Nov 2025 15:28:59 -0500 Subject: [PATCH] chore: schema updates with new names Signed-off-by: Christopher Phillips <32073428+spiffcs@users.noreply.github.com> --- schema/json/schema-16.0.43.json | 17 ++++------------- schema/json/schema-latest.json | 17 ++++------------- 2 files changed, 8 insertions(+), 26 deletions(-) diff --git a/schema/json/schema-16.0.43.json b/schema/json/schema-16.0.43.json index bea527bf1..00a53ffcd 100644 --- a/schema/json/schema-16.0.43.json +++ b/schema/json/schema-16.0.43.json @@ -1433,24 +1433,16 @@ ], "description": "FileMetadataEntry contains filesystem-level metadata attributes such as permissions, ownership, type, and size for a cataloged file." }, - "GgufFileMetadata": { + "GgufFileHeader": { "properties": { "ggufVersion": { "type": "integer", "description": "GGUFVersion is the GGUF format version (e.g., 3)" }, - "modelName": { - "type": "string", - "description": "ModelName is the name of the model (from general.name or filename)" - }, "fileSize": { "type": "integer", "description": "FileSize is the size of the GGUF file in bytes (best-effort if available from resolver)" }, - "license": { - "type": "string", - "description": "License is the license identifier (from general.license if present)" - }, "architecture": { "type": "string", "description": "Architecture is the model architecture (from general.architecture, e.g., \"qwen3moe\", \"llama\")" @@ -1469,17 +1461,16 @@ }, "header": { "type": "object", - "description": "Header contains the remaining key-value pairs from the GGUF header that are not already\nrepresented as typed fields above. This preserves additional metadata fields for reference\n(namespaced with general.*, llama.*, etc.) while avoiding duplication." + "description": "RemainingKeyValues contains the remaining key-value pairs from the GGUF header that are not already\nrepresented as typed fields above. This preserves additional metadata fields for reference\n(namespaced with general.*, llama.*, etc.) while avoiding duplication." }, "metadataHash": { "type": "string", - "description": "MetadataHash is a xx64 hash of all key-value pairs from the GGUF header metadata.\nThis hash is computed over the complete header metadata (including the fields extracted\ninto typed fields above) and provides a stable identifier for the model configuration\nacross different file locations or remotes. It allows matching identical models even\nwhen stored in different repositories or with different filenames." + "description": "MetadataKeyValuesHash is a xx64 hash of all key-value pairs from the GGUF header metadata.\nThis hash is computed over the complete header metadata (including the fields extracted\ninto typed fields above) and provides a stable identifier for the model configuration\nacross different file locations or remotes. It allows matching identical models even\nwhen stored in different repositories or with different filenames." } }, "type": "object", "required": [ "ggufVersion", - "modelName", "tensorCount" ], "description": "GGUFFileHeader represents metadata extracted from a GGUF (GPT-Generated Unified Format) model file." @@ -2631,7 +2622,7 @@ "$ref": "#/$defs/ErlangRebarLockEntry" }, { - "$ref": "#/$defs/GgufFileMetadata" + "$ref": "#/$defs/GgufFileHeader" }, { "$ref": "#/$defs/GithubActionsUseStatement" diff --git a/schema/json/schema-latest.json b/schema/json/schema-latest.json index bea527bf1..00a53ffcd 100644 --- a/schema/json/schema-latest.json +++ b/schema/json/schema-latest.json @@ -1433,24 +1433,16 @@ ], "description": "FileMetadataEntry contains filesystem-level metadata attributes such as permissions, ownership, type, and size for a cataloged file." }, - "GgufFileMetadata": { + "GgufFileHeader": { "properties": { "ggufVersion": { "type": "integer", "description": "GGUFVersion is the GGUF format version (e.g., 3)" }, - "modelName": { - "type": "string", - "description": "ModelName is the name of the model (from general.name or filename)" - }, "fileSize": { "type": "integer", "description": "FileSize is the size of the GGUF file in bytes (best-effort if available from resolver)" }, - "license": { - "type": "string", - "description": "License is the license identifier (from general.license if present)" - }, "architecture": { "type": "string", "description": "Architecture is the model architecture (from general.architecture, e.g., \"qwen3moe\", \"llama\")" @@ -1469,17 +1461,16 @@ }, "header": { "type": "object", - "description": "Header contains the remaining key-value pairs from the GGUF header that are not already\nrepresented as typed fields above. This preserves additional metadata fields for reference\n(namespaced with general.*, llama.*, etc.) while avoiding duplication." + "description": "RemainingKeyValues contains the remaining key-value pairs from the GGUF header that are not already\nrepresented as typed fields above. This preserves additional metadata fields for reference\n(namespaced with general.*, llama.*, etc.) while avoiding duplication." }, "metadataHash": { "type": "string", - "description": "MetadataHash is a xx64 hash of all key-value pairs from the GGUF header metadata.\nThis hash is computed over the complete header metadata (including the fields extracted\ninto typed fields above) and provides a stable identifier for the model configuration\nacross different file locations or remotes. It allows matching identical models even\nwhen stored in different repositories or with different filenames." + "description": "MetadataKeyValuesHash is a xx64 hash of all key-value pairs from the GGUF header metadata.\nThis hash is computed over the complete header metadata (including the fields extracted\ninto typed fields above) and provides a stable identifier for the model configuration\nacross different file locations or remotes. It allows matching identical models even\nwhen stored in different repositories or with different filenames." } }, "type": "object", "required": [ "ggufVersion", - "modelName", "tensorCount" ], "description": "GGUFFileHeader represents metadata extracted from a GGUF (GPT-Generated Unified Format) model file." @@ -2631,7 +2622,7 @@ "$ref": "#/$defs/ErlangRebarLockEntry" }, { - "$ref": "#/$defs/GgufFileMetadata" + "$ref": "#/$defs/GgufFileHeader" }, { "$ref": "#/$defs/GithubActionsUseStatement"