Skip to content

Commit

Permalink
Merge pull request #47
Browse files Browse the repository at this point in the history
v1.2.0
  • Loading branch information
MatteoCampinoti94 authored Aug 6, 2024
2 parents f753a1e + 887f8f7 commit 95c65fc
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 0 deletions.
45 changes: 45 additions & 0 deletions fileformats.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,51 @@
"description": "A description of the file format.",
"type": "string"
},
"alternatives": {
"description": "Alternative PUIDs based on the file's extension.",
"type": "object",
"minItems": 3,
"additionalProperties": false,
"patternProperties": {
"^(\\.[a-z0-9]+)+$": {
"oneOf": [
{
"type": "string",
"pattern": "^[a-zA-Z0-9_/-]+$"
},
{
"type": "string",
"pattern": "^!ext=(\\.+)+$"
},
{
"type": "string",
"enum": [
"!empty",
"!binary",
"!aggregate",
"!audio",
"!database",
"!dataset",
"!email",
"!font",
"!gis",
"!image (raster)",
"!image (vector)",
"!model",
"!page description",
"!presentation",
"!spreadsheet",
"!text (mark-up)",
"!text (structured)",
"!text (unstructured)",
"!video",
"!word processor"
]
}
]
}
}
},
"action": {
"description": "The default action to undertake.",
"type": "string",
Expand Down
3 changes: 3 additions & 0 deletions fileformats.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2680,6 +2680,9 @@ x-fmt/258:
x-fmt/263:
name: ZIP Format
action: extract
alternatives:
.xps: fmt/657
.oxps: fmt/657
extract:
tool: patool
extension: .zip
Expand Down

0 comments on commit 95c65fc

Please sign in to comment.