mirror of
https://github.com/anchore/syft.git
synced 2025-11-17 08:23:15 +01:00
chore: schema updates with new names
Signed-off-by: Christopher Phillips <32073428+spiffcs@users.noreply.github.com>
This commit is contained in:
parent
8706ff8310
commit
f1839215c6
@ -1433,24 +1433,16 @@
|
|||||||
],
|
],
|
||||||
"description": "FileMetadataEntry contains filesystem-level metadata attributes such as permissions, ownership, type, and size for a cataloged file."
|
"description": "FileMetadataEntry contains filesystem-level metadata attributes such as permissions, ownership, type, and size for a cataloged file."
|
||||||
},
|
},
|
||||||
"GgufFileMetadata": {
|
"GgufFileHeader": {
|
||||||
"properties": {
|
"properties": {
|
||||||
"ggufVersion": {
|
"ggufVersion": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"description": "GGUFVersion is the GGUF format version (e.g., 3)"
|
"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": {
|
"fileSize": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"description": "FileSize is the size of the GGUF file in bytes (best-effort if available from resolver)"
|
"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": {
|
"architecture": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Architecture is the model architecture (from general.architecture, e.g., \"qwen3moe\", \"llama\")"
|
"description": "Architecture is the model architecture (from general.architecture, e.g., \"qwen3moe\", \"llama\")"
|
||||||
@ -1469,17 +1461,16 @@
|
|||||||
},
|
},
|
||||||
"header": {
|
"header": {
|
||||||
"type": "object",
|
"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": {
|
"metadataHash": {
|
||||||
"type": "string",
|
"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",
|
"type": "object",
|
||||||
"required": [
|
"required": [
|
||||||
"ggufVersion",
|
"ggufVersion",
|
||||||
"modelName",
|
|
||||||
"tensorCount"
|
"tensorCount"
|
||||||
],
|
],
|
||||||
"description": "GGUFFileHeader represents metadata extracted from a GGUF (GPT-Generated Unified Format) model file."
|
"description": "GGUFFileHeader represents metadata extracted from a GGUF (GPT-Generated Unified Format) model file."
|
||||||
@ -2631,7 +2622,7 @@
|
|||||||
"$ref": "#/$defs/ErlangRebarLockEntry"
|
"$ref": "#/$defs/ErlangRebarLockEntry"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"$ref": "#/$defs/GgufFileMetadata"
|
"$ref": "#/$defs/GgufFileHeader"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"$ref": "#/$defs/GithubActionsUseStatement"
|
"$ref": "#/$defs/GithubActionsUseStatement"
|
||||||
|
|||||||
@ -1433,24 +1433,16 @@
|
|||||||
],
|
],
|
||||||
"description": "FileMetadataEntry contains filesystem-level metadata attributes such as permissions, ownership, type, and size for a cataloged file."
|
"description": "FileMetadataEntry contains filesystem-level metadata attributes such as permissions, ownership, type, and size for a cataloged file."
|
||||||
},
|
},
|
||||||
"GgufFileMetadata": {
|
"GgufFileHeader": {
|
||||||
"properties": {
|
"properties": {
|
||||||
"ggufVersion": {
|
"ggufVersion": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"description": "GGUFVersion is the GGUF format version (e.g., 3)"
|
"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": {
|
"fileSize": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"description": "FileSize is the size of the GGUF file in bytes (best-effort if available from resolver)"
|
"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": {
|
"architecture": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Architecture is the model architecture (from general.architecture, e.g., \"qwen3moe\", \"llama\")"
|
"description": "Architecture is the model architecture (from general.architecture, e.g., \"qwen3moe\", \"llama\")"
|
||||||
@ -1469,17 +1461,16 @@
|
|||||||
},
|
},
|
||||||
"header": {
|
"header": {
|
||||||
"type": "object",
|
"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": {
|
"metadataHash": {
|
||||||
"type": "string",
|
"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",
|
"type": "object",
|
||||||
"required": [
|
"required": [
|
||||||
"ggufVersion",
|
"ggufVersion",
|
||||||
"modelName",
|
|
||||||
"tensorCount"
|
"tensorCount"
|
||||||
],
|
],
|
||||||
"description": "GGUFFileHeader represents metadata extracted from a GGUF (GPT-Generated Unified Format) model file."
|
"description": "GGUFFileHeader represents metadata extracted from a GGUF (GPT-Generated Unified Format) model file."
|
||||||
@ -2631,7 +2622,7 @@
|
|||||||
"$ref": "#/$defs/ErlangRebarLockEntry"
|
"$ref": "#/$defs/ErlangRebarLockEntry"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"$ref": "#/$defs/GgufFileMetadata"
|
"$ref": "#/$defs/GgufFileHeader"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"$ref": "#/$defs/GithubActionsUseStatement"
|
"$ref": "#/$defs/GithubActionsUseStatement"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user