Project

General

Profile

« Previous | Next » 

Revision b1917108

Added by koszko over 1 year ago

facilitate including instance generator software info

View differences:

api_query_result-1.schema.json
18 18
	    "items": {
19 19
		"$ref": "./common_definitions-1.schema.json#/definitions/item_ref"
20 20
	    }
21
	},
22
	"generated_by": {
23
	    "$ref": "./common_definitions-1.schema.json#/definitions/generated_by"
21 24
	}
22 25
    }
23 26
}
api_source_description-1.schema.json
56 56
	    "items": {
57 57
		"$ref": "./common_definitions-1.schema.json#/definitions/typed_item_ref"
58 58
	    }
59
	},
60
	"generated_by": {
61
	    "$ref": "./common_definitions-1.schema.json#/definitions/generated_by"
59 62
	}
60 63
    }
61 64
}
common_definitions-1.schema.json
208 208
		}
209 209
	    }]
210 210
	},
211
	"generated_by": {
212
	    "description": "Describe what software generated this instance",
213
	    "type": "object",
214
	    "required": ["name"],
215
	    "properties": {
216
		"name": {
217
		    "type": "string",
218
		    "description": "Instance generator software name, without version"
219
		},
220
		"version": {
221
		    "type": "string",
222
		    "description": "Instance generator software version, in arbitrary format"
223
		}
224
	    }
225
	},
211 226
	"item_definition": {
212 227
	    "description": "Definition of a resource/mapping (fields specific to built definitions)",
213 228
	    "type": "object",
......
226 241
		"source_copyright": {
227 242
		    "description": "Which files indicate license terms of the source package and should be installed",
228 243
		    "$ref": "#/definitions/file_ref_list_sha256"
244
		},
245
		"generated_by": {
246
		    "$ref": "#/definitions/generated_by"
229 247
		}
230 248
	    }
231 249
	}

Also available in: Unified diff