Skip to content

Commit

Permalink
fileformats.schema - add file classes allowed properties
Browse files Browse the repository at this point in the history
Can now define an action based on a general file class as fallback. Classes come from Pronom.
  • Loading branch information
MatteoCampinoti94 committed Nov 17, 2023
1 parent 076be53 commit 885b760
Showing 1 changed file with 78 additions and 0 deletions.
78 changes: 78 additions & 0 deletions fileformats.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,84 @@
"$id": "actions",
"type": "object",
"additionalProperties": false,
"properties": {
"!binary": {
"description": "An Action object for the file class 'binary'.",
"$ref": "#/definitions/action"
},
"!aggregate": {
"description": "An Action object for the file class 'aggregate'.",
"$ref": "#/definitions/action"
},
"!audio": {
"description": "An Action object for the file class 'audio'.",
"$ref": "#/definitions/action"
},
"!database": {
"description": "An Action object for the file class 'database'.",
"$ref": "#/definitions/action"
},
"!dataset": {
"description": "An Action object for the file class 'dataset'.",
"$ref": "#/definitions/action"
},
"!email": {
"description": "An Action object for the file class 'email'.",
"$ref": "#/definitions/action"
},
"!font": {
"description": "An Action object for the file class 'font'.",
"$ref": "#/definitions/action"
},
"!gis": {
"description": "An Action object for the file class 'gis'.",
"$ref": "#/definitions/action"
},
"!image (raster)": {
"description": "An Action object for the file class 'image (raster)'.",
"$ref": "#/definitions/action"
},
"!image (vector)": {
"description": "An Action object for the file class 'image (vector)'.",
"$ref": "#/definitions/action"
},
"!model": {
"description": "An Action object for the file class 'model'.",
"$ref": "#/definitions/action"
},
"!page description": {
"description": "An Action object for the file class 'page description'.",
"$ref": "#/definitions/action"
},
"!presentation": {
"description": "An Action object for the file class 'presentation'.",
"$ref": "#/definitions/action"
},
"!spreadsheet": {
"description": "An Action object for the file class 'spreadsheet'.",
"$ref": "#/definitions/action"
},
"!text (mark-up)": {
"description": "An Action object for the file class 'text (mark-up)'.",
"$ref": "#/definitions/action"
},
"!text (structured)": {
"description": "An Action object for the file class 'text (structured)'.",
"$ref": "#/definitions/action"
},
"!text (unstructured)": {
"description": "An Action object for the file class 'text (unstructured)'.",
"$ref": "#/definitions/action"
},
"!video": {
"description": "An Action object for the file class 'video'.",
"$ref": "#/definitions/action"
},
"!word processor": {
"description": "An Action object for the file class 'word processor'.",
"$ref": "#/definitions/action"
}
},
"patternProperties": {
"^[a-zA-Z0-9_/-]+$": {
"$ref": "#/definitions/action"
Expand Down

0 comments on commit 885b760

Please sign in to comment.