Here is the schema file ```json { "$schema": "http://json-schema.org/draft-07/schema#", "$id": "/resource-metadata", "title": "Resource Metadata", "description": "Contains information that uniquely identifies a resource", "type": "object", "required": [ "name", "displayName", "publisher", "mode", "type" ], "oneOf": [ { "if": { "properties": {"type": { "pattern": "^(app|App|APP)$" } } }, "then": { "properties": { "genomeSettings": { "$ref": "#/definitions/app" } }, "required": ["genomeSettings"] } }, { "if": { "properties": { "type": { "pattern": "^(?!Dragoon|DRAGOON|dragoon).*$" } } }, "then": { "properties": { "additionalSettings": { "$ref": "#/definitions/reference_file" } }, "required": ["additionalSettings"] } } ], "properties": { "name": { "description": "The Name of the resource. (must be unique across all resources)", "type": "string", "minLength": 1, "maxLength": 255 }, "displayName": { "description": "Name that shows up on UI screens", "type": "string", "minLength": 1, "maxLength": 255 }, "description": { "description": "Description of this resource [Optional]", "type": "string", "maxLength": 8192, "minLength": 0 }, "version": { "description": "The version of this resource. (Uses SemVer) [Optional]. Omitting this field means the resource is NOT versioned", "type": "string", "pattern": "^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$" }, "publisher": { "description": "The publisher/owner", "type": "string", "minLength": 1, "maxLength": 255 }, "mode": { "description": "The mode associated with this resource", "type": "string", "enum": [ "IP", "TP", "ID" ] }, "type": { "description": "The type of resource", "type": "string", "minLength": 1, "maxLength": 255 }, "appSettings": { "description": "Holds additional information that describes a app resource type", "type": "object", "$ref": "#/definitions/app" }, "additionalSettings": { "description": "Holds additional settings for non app types.", "type": "object", "$ref": "#/definitions/reference_file" } }, "definitions": { "app": { "$id": "/app", "type": "object", "required": ["appFormat"], "properties": { "build": { "description": "Build of the app", "maxLength": 50, "minLength": 0, "type": "string" }, "status": { "description": "Status of the app", "enum": [ "Active", "Inactive" ], "type": "string" }, "app_type": { "description": "Type of the app", "maxLength": 255, "minLength": 0, "type": "string" }, "source": { "description": "Publisher of the file", "maxLength": 255, "minLength": 0, "type": "string" }, "appVersion": { "description": "App version", "maxLength": 50, "minLength": 0, "type": "string" }, "appFormat": { "description": "Format for the app", "enum": [ "D", "F" ], "type": "string" }, "settings": { "description": "Custom settings" }, "sourceFileMetadata": { "description": "Key-value pairs that indicate the source files" }, "FileUrn": { "description": "Urn of the file being used", "maxLength": 1152, "minLength": 0, "type": "string" }, "FileUri": { "description": "Uri of the file being used", "maxLength": 200, "minLength": 0, "type": "string" } } }, "reference_file": { "$id": "/reference_file", "type": "object", "required": ["supportedApps"], "oneOf": [{"type": "object"}, {"type": "null"}], "properties": { "supportedApps": { "description": "Array of values", "type": "array", "minItems": 0, "uniqueItems": true, "items": { "type": "string" } } } } } } ``` and Here is a sample json request ```json { "name": "Test.Twenty-Megabytes", "displayName": "Some app", "publisher": "Test", "version": "1.0.6", "regulatoryMode": "IP", "type": "fdsddf", "additionalSettings": { "supportedApps": [""] } } ```